GET api/MallV720/GoodsDetail?goodsId={goodsId}&sign={sign}&stamp={stamp}

商品详情

Request Information

URI Parameters

NameDescriptionTypeAdditional information
goodsId

商品id

integer

Default value is 0

sign

string

Default value is

stamp

string

Default value is

Body Parameters

None.

Response Information

Resource Description

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

boolean

None.

code

integer

None.

data

ZaiMieApp.WebApi.ViewModel.GoodsView

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.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.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: “ZaiMieApp.WebApi.ViewModel.GoodsView”类型的对象图包含循环,如果禁用引用跟踪,择无法对其进行序列化。

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: “ZaiMieApp.WebApi.ViewModel.GoodsView”类型的对象图包含循环,如果禁用引用跟踪,择无法对其进行序列化。