文档
测试
江照锋

录入三餐

POST
http://localhost/userdietclickinlist/setfoodcontent

接口描述

注释:timetype:1-早餐,2-中餐,3-晚餐,4-早餐加餐,5-中餐加餐 6-晚餐加餐

请求头

参数名
类型
描述
必填

请求参数

参数名
类型
描述
必填
phone
int
示例:19855351192
必填
token
string
示例:67ee4be0b405baa2be3216569782e787
必填
timetype
int
示例:2
必填
foodcontent
string
示例:今天吃了300克米饭,200克菜和100克牛肉。
必填
foodpic
string
示例:https://www.365healthy.net/uploadFiles/images/evaluation/fuxioupei1.jpg,https://www.365healthy.net/uploadFiles/images/evaluation/fuxioupei2.jpg,https://www.365healthy.net/uploadFiles/images/evaluation/fuxioupei3.jpg,https://www.365healthy.net/uploadFiles/images/evaluation/fuxioupei4.jpg
必填

响应参数

参数名
类型
描述
必填
msg
string
示例:录入成功
必填
state
int
示例:1
必填