- discard(废弃)
- demo(模板-参考示例)
- usmile-wx(微信)
- uc(用户统一中心)
- user-web(健康&设备&我的)
- 健康
- 口腔健康量表
- 进阶问卷
- 专家共研
- 护齿目标
- 刷牙报告
- 年度报告
- 好友收礼
- 亲友空间
- 成长日记
- 单项指标
- AI口腔检测
- 设备
- 我的
- 账号
- 运营弹窗
- 其他
- 启动页
- bff-cloud
- iot-sevice(IOT平台)
- cloud-admin(运营后台)
批量新增单项指标√
POST
https://test.myusmile.online/bff/cloud/singeIndex/save
请求参数
Header 参数
TOK
string
可选
默认值:
{{token}}
Body 参数application/json
userId
integer
可选
lang
enum<string>
可选
枚举值:
zhen
示例
{
"lang": "zh",
"singeIndexId": [11, 12, 15, 22]
}
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://test.myusmile.online/bff/cloud/singeIndex/save' \
--header 'TOK: ' \
--header 'Content-Type: application/json' \
--data-raw '{
"lang": "zh",
"singeIndexId": [11, 12, 15, 22]
}'
返回响应
🟢200成功
application/json
Body
object {0}
示例
{
"code": 100000,
"message": "操作成功",
"data": [
{
"id": 629,
"userId": 1742449741897543682,
"singeIndexId": 22,
"gorder": 0,
"lang": "zh",
"createTime": "2024-12-23 14:39:41",
"updateTime": "2024-12-23 14:39:41",
"createBy": "",
"updateBy": ""
},
{
"id": 630,
"userId": 1742449741897543682,
"singeIndexId": 11,
"gorder": 1,
"lang": "zh",
"createTime": "2024-12-23 14:39:41",
"updateTime": "2024-12-23 14:39:41",
"createBy": "",
"updateBy": ""
},
{
"id": 631,
"userId": 1742449741897543682,
"singeIndexId": 17,
"gorder": 2,
"lang": "zh",
"createTime": "2024-12-23 14:39:41",
"updateTime": "2024-12-23 14:39:41",
"createBy": "",
"updateBy": ""
},
{
"id": 632,
"userId": 1742449741897543682,
"singeIndexId": 12,
"gorder": 3,
"lang": "zh",
"createTime": "2024-12-23 14:39:41",
"updateTime": "2024-12-23 14:39:41",
"createBy": "",
"updateBy": ""
},
{
"id": 633,
"userId": 1742449741897543682,
"singeIndexId": 13,
"gorder": 4,
"lang": "zh",
"createTime": "2024-12-23 14:39:41",
"updateTime": "2024-12-23 14:39:41",
"createBy": "",
"updateBy": ""
}
]
}
修改于 2025-02-13 01:53:59