GET api/MallV720/CalcCartPrice?newspapergroupId={newspapergroupId}&goodsIds={goodsIds}&counts={counts}&sign={sign}&stamp={stamp}

计算购物清单

Request Information

URI Parameters

NameDescriptionTypeAdditional information
newspapergroupId

租户id

integer

Default value is 0

goodsIds

购买的商品,id之间用逗号隔开

string

Default value is

counts

购买的商品数量,数量之间用逗号隔开

string

Default value is

sign

string

Default value is

stamp

string

Default value is

Body Parameters

None.

Response Information

Resource Description

ZaiMieApp.WebApi.ViewModel.ResultDataMsgOfZaiMieApp.WebApi.ViewModel.MallOrder
NameDescriptionTypeAdditional information
success

boolean

None.

code

integer

None.

data

ZaiMieApp.WebApi.ViewModel.MallOrder

None.

addcoin

integer

None.

message

string

None.

page

integer

None.

allPage

integer

None.

Response Formats

application/json

Sample:

An exception has occurred while using the formatter 'System.Net.Http.Formatting.JsonMediaTypeFormatter' to generate sample for media type 'application/json'. Exception message: Self referencing loop detected with type 'ZaiMieApp.WebApi.ViewModel.GoodsView'. Path 'data.orderDetails[0].goods.recommendGoods'.

text/json

Sample:

An exception has occurred while using the formatter 'System.Net.Http.Formatting.JsonMediaTypeFormatter' to generate sample for media type 'text/json'. Exception message: Self referencing loop detected with type 'ZaiMieApp.WebApi.ViewModel.GoodsView'. Path 'data.orderDetails[0].goods.recommendGoods'.

application/xml

Sample:

An exception has occurred while using the formatter 'System.Net.Http.Formatting.XmlMediaTypeFormatter' to generate sample for media type 'application/xml'. Exception message: “System.Collections.Generic.List`1[[ZaiMieApp.WebApi.ViewModel.GoodsView, ZaiMieApp.WebApi, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]”类型的对象图包含循环,如果禁用引用跟踪,择无法对其进行序列化。

text/xml

Sample:

An exception has occurred while using the formatter 'System.Net.Http.Formatting.XmlMediaTypeFormatter' to generate sample for media type 'text/xml'. Exception message: “System.Collections.Generic.List`1[[ZaiMieApp.WebApi.ViewModel.GoodsView, ZaiMieApp.WebApi, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]”类型的对象图包含循环,如果禁用引用跟踪,择无法对其进行序列化。