接口描述
上传用户饮食记录
请求头
参数名
类型
描述
必填
请求参数
参数名
类型
描述
必填
phone
int
示例:18797854742
必填
token
string
示例:bcc80d8401047a7756c7efd8748d9d64
必填
foods
string
示例:[{"id":20,"weight":195.4,"diningPoint":0,"foodType":2},{"id":103,"weight":165.3,"diningPoint":0,"foodType":1}]
必填
uploadType
int
0 表示上传 1表示更换套餐
必填
响应参数
参数名
类型
描述
必填
msg
string
示例:提交成功
必填
state
int
示例:1
必填