文档
测试

轮播图、菜单、置顶广告、分类

POST
http://ad.xinghaoruiye.com/api

请求参数

参数名
类型
描述
必填
method
string
示例:index.info
必填
type
string
示例:cate-home
必填

响应参数

参数名
类型
描述
必填
code
int
示例:0
必填
msg
string
示例:
必填
data
object
数据字典
必填
banner
array
数据列表
必填
id
int
示例:2
必填
logo
string
示例:de677967bcd86559909fb0ae95d15c71
必填
ad_id
int
示例:5
必填
sort
int
示例:1
必填
menu
array
数据列表
必填
id
int
示例:1
必填
logo
string
示例:c5cd1715845979d5d7b46658d91b2881
必填
ad_id
int
示例:46
必填
sort
int
示例:1
必填
menu_name
string
示例:菜单1
必填
top_info
array
数据列表
必填
id
int
示例:7
必填
ad_name
string
示例:654
必填
cate_id
int
示例:46
必填
ad_info
string
示例:654
必填
logo
string
示例:http://ad.xinghaoruiye.com/static/uploads/images/2021/08/11/162866670361137b4fbdc43.jpg
必填
images
string
示例:["b47b9fa44b8dfaab65bfd30b6dd3428e","2d890c36ea212892f60eb3da855a25b2"]
必填
video
string
示例:
必填
active
string
示例:654
必填
author_type
int
示例:1
必填
author_uid
int
示例:13
必填
status
string
示例:通过
必填
top
string
示例:后台置顶
必填
creat_time
int
示例:1628588486
必填
update_time
int
示例:1628666719
必填
day
int
示例:0
必填
start_time
int
示例:1628956800
必填
end_time
int
示例:1630425599
必填
look
int
示例:30
必填
like
int
示例:40
必填
focus
int
示例:0
必填
redpacket_price
string
示例:100.00 / 100.00
必填
redpacket_price_used
string
示例:0.00
必填
redpacket_num
string
示例:200 / 200
必填
redpacket_num_used
int
示例:0
必填
pay_status
int
示例:0
必填
address
object
示例:null
必填
redpacket_price_cha
string
示例:100.00
必填
author
string
示例:管理员:admin
必填
top_time
string
示例:2021-08-15 至 2021-08-31
必填
images_url
array
数据列表
必填
category
array
数据列表
必填
id
int
示例:46
必填
cate_name
string
示例:分类一
必填
logo
string
示例:http://ad.xinghaoruiye.com/static/uploads/images/2021/08/09/16284809736110a5cd8ee89.jpg
必填
sort
int
示例:1
必填