添加配置-Deepl
POST
/api/saveConfig最后修改时间: 8 个月前
请求参数
Body 参数application/json
platform
string
必需
status
boolean
必需
level
integer
必需
cfg
object
必需
key
string
必需
url
string
必需
curlTimeOut
integer
必需
type
string
必需
示例1
{
"platform": "Deepl1",
"status": true,
"level": 1,
"cfg": {
"key": "",
"url": "https://api.deepl.com/v2/translate",
"curlTimeOut": 1000
},
"type": "Deepl"
}
示例代码
返回响应
成功(200)
HTTP 状态码: 200
内容格式: JSONapplication/json
数据结构
code
integer
状态码
1000 成功 其他失败
data
array[string]
返回的数据
msg
string
系统信息
time
integer
当前系统时间
示例
{
"code": 1000,
"data": [],
"msg": "SUCCESS !!!",
"time": 1715393900901
}
最后修改时间: 8 个月前