GET api/sys/ad/{position}?relationdata={relationdata}

获取广告列表

Request Information

URI Parameters

NameDescriptionTypeAdditional information
position

integer

Required

relationdata

string

Default value is

Body Parameters

None.

Response Information

Resource Description

获取广告列表

ReturnResultOfListOfSysAdContract
NameDescriptionTypeAdditional information
data

Collection of SysAdContract

None.

code

状态码:100成功,其他自定义

integer

None.

message

提示消息

string

None.

Response Formats

application/json, text/json

Sample:
{
  "data": [
    {
      "adid": "sample string 1",
      "pathurl": "sample string 2",
      "redirecturl": "sample string 3"
    },
    {
      "adid": "sample string 1",
      "pathurl": "sample string 2",
      "redirecturl": "sample string 3"
    }
  ],
  "code": 1,
  "message": "sample string 2"
}