用户设置保存
开发中
POST
/adminapi/setting.user/setConfig
请求参数
Header 参数
token
string
可选
示例值:
{{adminToken}}
Body 参数application/json
object {0}
示例
{
"default_avatar": "http://www.php-ws.localhost/resource/image/adminapi/default/default_avatar.png",
"account_logout": 0
}
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST '/adminapi/setting.user/setConfig' \
--header 'token: {{adminToken}}' \
--header 'token;' \
--header 'Content-Type: application/json' \
--data-raw '{
"default_avatar": "http://www.php-ws.localhost/resource/image/adminapi/default/default_avatar.png",
"account_logout": 0
}'
返回响应
修改于 2023-11-30 04:12:26