修改设置信息
POST
/myauth/web/editConfig
请求参数
Header 参数
token
string
必需
示例值:
ec22762345c74b3c9a1201d092d16e1f
Body 参数application/json
seoTitle
string
网站标题
seoKeywords
string
网站关键词
seoDescription
string
网站描述
dingbotAccessToken
string
钉钉机器人accessToken
dingbotMsg
integer
钉钉机器人通知开关
openApiKey
string
开放接口key
示例
{
"seoTitle": "MyAuth",
"seoKeywords": "MyAuth授权管理系统;免费授权系统",
"seoDescription": "一款稳定 高效 免费的授权管理系统",
"dingbotAccessToken": null,
"dingbotMsg": 0,
"openApiKey": "0f6bc68209f542a18fbef5b422540a97"
}
示例代码
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/editConfig' \
--header 'token: ec22762345c74b3c9a1201d092d16e1f' \
--header 'Content-Type: application/json' \
--data-raw '{
"seoTitle": "MyAuth",
"seoKeywords": "MyAuth授权管理系统;免费授权系统",
"seoDescription": "一款稳定 高效 免费的授权管理系统",
"dingbotAccessToken": null,
"dingbotMsg": 0,
"openApiKey": "0f6bc68209f542a18fbef5b422540a97"
}'
返回响应
🟢200成功
application/json
Body
code
integer
必需
success
boolean
必需
msg
string
必需
sign
string
必需
result
null
必需
timestamp
integer
必需
示例
{
"code": 500,
"success": false,
"msg": "设置修改成功",
"sign": "",
"result": null,
"timestamp": 1646748028583
}
修改于 2022-03-13 06:46:57