POST api/ClientApp/banner/list

🎉 Banner 列表

Request Information

URI Parameters

None.

Body Parameters

BannerListRequest
NameDescriptionTypeAdditional information
banner_position

Banner 展示位置,其他值:all = 0 , home_top = 1

integer

None.

clientType

客户端类型,默认值:website

string

None.

clientVersion

客户端版本,默认值:1.0.0

string

None.

Request Formats

application/json, text/json

Sample:
{
  "banner_position": 1,
  "clientType": "sample string 2",
  "clientVersion": "sample string 3"
}

Response Information

Resource Description

BannerListResponse
NameDescriptionTypeAdditional information
home_top

Collection of BannerModel

None.

code

1 为成功,其他为失败

integer

None.

msg

请求描述

string

None.

elapsed_time

decimal number

None.

Response Formats

application/json, text/json

Sample:
{
  "home_top": [
    {
      "banner_id": 1,
      "image_url": "sample string 2",
      "link_type": 3,
      "link_value": "sample string 4"
    },
    {
      "banner_id": 1,
      "image_url": "sample string 2",
      "link_type": 3,
      "link_value": "sample string 4"
    }
  ],
  "code": 1,
  "msg": "sample string 2",
  "elapsed_time": 0.0
}