文档
测试

广告位调用

POST
/api.html

接口描述

广告位调用

请求参数

参数名
类型
描述
必填
method
string
示例:advert.getAdvertList
必填
code
string
示例:tpl1_express_banner
必填
page
string
示例:1
必填
limit
string
示例:1
必填

响应参数

参数名
类型
描述
必填
status
boolean
示例:true
必填
msg
string
示例:获取成功
必填
data
object
数据字典
必填
list
array
数据列表
必填
id
int
示例:1
必填
position_id
int
示例:2
必填
code
string
示例:tpl1_express_banner
必填
name
string
示例:超值优惠拼团
必填
img
string
示例:http://shengxianpeisong.xinghaoruiye.com/static/uploads/images/2021/04/25/16193163376084ce717a683.jpg
必填
type
int
示例:2 (类型2为商品,下面val对应商品ID)
必填
val
string
示例:8
必填
sort
int
示例:100
必填
count
int
示例:1
必填