修改版本
POST
/myauth/web/updVersion
请求参数
Header 参数
token
string
必需
示例值:
2b036bd8139e44e1a8034e371d9584a7
Body 参数application/json
id
integer
版本id
ver
string
版本号
updLog
string
更新日志
updType
integer
更新模式
status
integer
版本状态
示例
{
"id": 1,
"ver": 1.0.1,
"updLog": "首个版本发布",
"updType": 0,
"status": 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 '/myauth/web/updVersion' \
--header 'token: 2b036bd8139e44e1a8034e371d9584a7' \
--header 'Content-Type: application/json' \
--data-raw '{
"id": 1,
"ver": 1.0.1,
"updLog": "首个版本发布",
"updType": 0,
"status": 1
}'
返回响应
🟢200成功
application/json
Body
code
integer
示例:200
success
boolean
成功响应
msg
string
返回文字描述
sign
string
示例:-
result
null
结果集
timestamp
integer
必需
示例
{
"code": 200,
"success": true,
"msg": "修改成功",
"sign": "",
"result": null,
"timestamp": 1645020290412
}
🔴500错误
修改于 2022-02-18 12:31:14