- 页面
- 用户
- 角色和权限
- 上传文件和图片
- 支付
- 搜索
- 帮助中心
- 模板
- 后台接口
更新模板权重
开发中
POST
http://localhost:8000/api/amis/updateWeights
请求参数
Query 参数
localhost/api/amis/updateWeights
string
可选
Body 参数application/json
object {0}
示例
{
"templateId": "640877fbd76d22598b96258a",
"weights": "1"
}
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST 'http://localhost:8000/api/amis/updateWeights?localhost/api/amis/updateWeights=' \
--header 'Content-Type: application/json' \
--data-raw '{
"templateId":"640877fbd76d22598b96258a",
"weights":"1"
}'
返回响应
🟢200成功
application/json
Body
success
boolean
必需
errCode
null
必需
errMessage
null
必需
示例
{
"success": true,
"errCode": null,
"errMessage": null
}
修改于 2023-03-08 15:16:35