文档
测试
POST
/api/home

接口描述

后续在补充数据

响应参数

参数名
类型
描述
必填
code
int
示例:0
必填
data
object
数据字典
必填
cps
array
数据列表
必填
id
int
示例:1
必填
cps_image_url
string
示例:https://quanlaolao.makepic.top/upload/cps/7c4edbcefccec33c54e4bcf710c94929.png
必填
cps_name
string
示例:饿了么大红包
必填
app_id
string
示例:wxece3a9a4c82f58c9
必填
cps_path
string
示例:/taoke/pages/shopping-guide/index?scene=o0nNDsu
必填
on_sale
boolean
示例:true
必填
sort
int
示例:0
必填
created_at
string
示例:2021-10-18T10:40:43.085+08:00
必填
food_radio_image
string
示例:http://wxlib-dev.oss-cn-shanghai.aliyuncs.com/dev/2jKwSEDUSViFxU1yxw3wT0d4vSDpzh4dyYGFLbpM.png
必填
food_recall_image
好不好吃制造机背景图
必填
food_recall_exit
是否有制造机历史记录 true 有。false 没有, 没登陆下 肯定没有
必填
top_bg_image
首页顶部背景图
必填
msg
string
示例:success
必填

说明 / 示例

```json { "code": 0, "data": { "cps": [ { "id": 1, "cps_image_url": "https://quanlaolao.makepic.top/upload/cps/7c4edbcefccec33c54e4bcf710c94929.png", "cps_name": "饿了么大红包", "app_id": "wxece3a9a4c82f58c9", "cps_path": "/taoke/pages/shopping-guide/index?scene=o0nNDsu", "on_sale": true, "sort": 0, "created_at": "2021-10-18T10:40:43.085+08:00" } ], "food_radio_image": "http://wxlib-dev.oss-cn-shanghai.aliyuncs.com/dev/2jKwSEDUSViFxU1yxw3wT0d4vSDpzh4dyYGFLbpM.png", "food_recall_exit": true, "food_recall_image": "http://wxlib-dev.oss-cn-shanghai.aliyuncs.com/dev/2jKwSEDUSViFxU1yxw3wT0d4vSDpzh4dyYGFLbpM.png" }, "msg": "success" } ```