GET api/MallV720/IndexGoods?newspapergroupId={newspapergroupId}&page={page}&sign={sign}&stamp={stamp}

获取商城首页列表

Request Information

URI Parameters

NameDescriptionTypeAdditional information
newspapergroupId

报社Id

integer

Default value is 15402

page

页码

integer

Default value is 1

sign

string

Default value is

stamp

string

Default value is

Body Parameters

None.

Response Information

Resource Description

ZaiMieApp.WebApi.ViewModel.ResultMallData
NameDescriptionTypeAdditional information
recordsetCount

integer

None.

pageSize

integer

None.

page

integer

None.

allPage

integer

None.

message

string

None.

success

boolean

None.

columnViews

一级栏目

Collection of ZaiMieApp.WebApi.ViewModel.MallClassify

None.

mallSlides

商城滚动幻灯

Collection of ZaiMieApp.WebApi.ViewModel.MallSlide

None.

goodsViews

商品列表

Collection of ZaiMieApp.WebApi.ViewModel.GoodsView

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.MallClassify'. Path 'columnViews[0].subMallClassifies'.

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.MallClassify'. Path 'columnViews[0].subMallClassifies'.

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.MallClassify, 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.MallClassify, ZaiMieApp.WebApi, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]”类型的对象图包含循环,如果禁用引用跟踪,择无法对其进行序列化。