POST api/localTour/advert/list
获取广告列表
Request Information
URI Parameters
None.
Body Parameters
Collection of AdvertRqContractName | Description | Type | Additional information |
---|---|---|---|
itemtype |
广告类别 |
string |
None. |
count |
广告数量 |
integer |
None. |
Request Formats
application/json, text/json
Sample:
[ { "itemtype": "sample string 1", "count": 2 }, { "itemtype": "sample string 1", "count": 2 } ]
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
获取广告列表
ReturnResultOfListOfAdvertRpContractName | Description | Type | Additional information |
---|---|---|---|
data | Collection of AdvertRpContract |
None. |
|
code |
状态码:100成功,其他自定义 |
integer |
None. |
message |
提示消息 |
string |
None. |
Response Formats
application/json, text/json
Sample:
{ "data": [ { "itemtype": "sample string 1", "adertlist": [ { "advid": 1, "advcontent": "sample string 2" }, { "advid": 1, "advcontent": "sample string 2" } ] }, { "itemtype": "sample string 1", "adertlist": [ { "advid": 1, "advcontent": "sample string 2" }, { "advid": 1, "advcontent": "sample string 2" } ] } ], "code": 1, "message": "sample string 2" }