获取减肥计划详情
## 1 获取减肥计划详情
| 属性 | 值 |
| ----------- | ---- |
| 请求方式 | POST|
| 测试URL | health.yicai.com/api/weight/plan_info|
| 发布URL | |
> 测试阶段 要注意数据获取 loading
##### 请求参数
| 字段 | 必填 | 类型 | 示例值 | 描述 |
| ---- | ---- | ---- | ------ | --------- |
| YICAI-TOKEN| 是 | string | 063uiNll2rMcE84EFhml2pGKMj1uiNlq | 通讯token header 中 |
|day|否|string|2022-05-11|日期|
##### 返回参数说明
| 字段 | 描述 |
| ---- | ---- |
|user_now_weight|用户当前体重 kg|
|user_last_log_weight|最后一次记录体重 0 没有|
|user_last_log_weight_day|最新的记录体重日期 默认 ''|
|user_target_weight|目标体重|
|total_plan_day|计划总天数|
|now_days|当前第几天|
|finish_days|已完成天数|
|status| 状态 1进行中 2已完成|
##### 返回值
code 200,请求成功 数据正常
``` javascript
{
"status": "success",
"code": 200,
"msg": "",
"data": {
"user_now_weight": 182.4,
"user_last_log_weight": 182,
"user_last_log_weight_day": "05.16",
"user_target_weight": 177.6,
"total_plan_day": 35,
"start_date": "2022-05-15",
"end_date": "2022-06-19",
"now_days": 3,
"finish_days": 1,
"status": 1
},
"error": []
}
```