文档
测试

首页基本数据

GET
/api/index/data

响应参数

参数名
类型
描述
必填
code
int
示例:1
必填
msg
string
示例:获取成功
必填
data
object
数据字典
必填
follow_img
array
轮播图
必填
img
string
示例:http://192.168.5.160/uploads/follow_img/20200602/d2f49474ffb219fcd049d333c6b7b9dc.jpg
必填
url
string
示例:
必填
delivery_intro
array
底部文字
必填
name
string
示例:最快29分钟到达
必填
icon
string
示例:time
必填
ad_img
array
广告图
必填
img
string
示例:http://192.168.5.160/uploads/follow_img/20200602/11173e41b6daf0a99936f7b59f3c1854.png
必填
url
string
示例:/pages/login/login
必填
up_mch_list
array
推荐商家列表
必填
id
int
示例:1
必填
name
string
示例:水果店铺名
必填
logo
string
示例:http://192.168.5.160/uploads/merchant_logo/20200601/19f7d2b4b9e1af0d1f6d778a64e9448c.jpg
必填
img
string
示例:http://192.168.5.160/uploads/merchant_background/20200601/44bbfb6a16a712f6d1fd8f1d13a2e484.jpg
必填
intro
string
示例:商家简介
必填