文档
测试

2、肥胖症预测

POST
http://localhost:88/api/predict/obsity/usersave

请求头

参数名
类型
描述
必填
Authorization
string
jwt身份认证信息
必填

请求参数

参数名
类型
描述
必填
weight
string
体重(kg)
必填
height
string
身高(cm)
必填

请求参数示例

```json { "weight": "75", "height": "187" }

响应参数

参数名
类型
描述
必填
msg
string
提示信息
必填
code
int
0-成功,其他业务码-失败
必填
data
string
预测结果
必填

响应数据示例

```json { "msg": "success", "code": 0, "data": "normal" //normal、thin、fat }