- 用户账号模块
- 用户信息模块
- 文章模块
- aurora信息
- 异常处理模块
- 分类模块
- 评论模块
- 异常日志模块
- 友链模块
- 定时任务模块
- 定时任务日志模块
- 菜单模块
- 操作日志模块
- 相册模块
- 照片模块
- 资源模块
- 角色模块
- 标签模块
- 说说模块
更新网站配置
PUT
/admin/website/config
请求参数
Body 参数application/json
name
string | null
网站名称
nickName
string | null
网站作者昵称
author
string | null
网站作者
avatar
string | null
网站头像
description
string | null
网站作者介绍
logo
string | null
网站logo
multiLanguage
integer | null
多语言
notice
string | null
网站公告
websiteCreateTime
string | null
网站创建时间
beianNumber
string | null
网站备案号
qqLogin
integer | null
QQ登录
github
string | null
github
gitee
string | null
gitee
qq
string | null
qq
weChat
string | null
微信
weibo
string | null
微博
csdn
string | null
csdn
zhihu
string | null
zhihu
juejin
string | null
juejin
twitter
string | null
twitter
stackoverflow
string | null
必需
touristAvatar
string | null
游客头像
userAvatar
string | null
用户头像
isCommentReview
integer | null
是否评论审核
isEmailNotice
integer | null
是否邮箱通知
isReward
integer | null
是否打赏
weiXinQRCode
string | null
微信二维码
alipayQRCode
string | null
支付宝二维码
favicon
string | null
favicon
websiteTitle
string | null
网页标题
gonganBeianNumber
string | null
公安部备案编号
示例
{
"name": "string",
"nickName": "string",
"author": "string",
"avatar": "string",
"description": "string",
"logo": "string",
"multiLanguage": 0,
"notice": "string",
"websiteCreateTime": "string",
"beianNumber": "string",
"qqLogin": 0,
"github": "string",
"gitee": "string",
"qq": "string",
"weChat": "string",
"weibo": "string",
"csdn": "string",
"zhihu": "string",
"juejin": "string",
"twitter": "string",
"stackoverflow": "string",
"touristAvatar": "string",
"userAvatar": "string",
"isCommentReview": 0,
"isEmailNotice": 0,
"isReward": 0,
"weiXinQRCode": "string",
"alipayQRCode": "string",
"favicon": "string",
"websiteTitle": "string",
"gonganBeianNumber": "string"
}
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request PUT 'http://127.0.0.1:8090/admin/website/config' \
--header 'Content-Type: application/json' \
--data-raw '{
"name": "string",
"nickName": "string",
"author": "string",
"avatar": "string",
"description": "string",
"logo": "string",
"multiLanguage": 0,
"notice": "string",
"websiteCreateTime": "string",
"beianNumber": "string",
"qqLogin": 0,
"github": "string",
"gitee": "string",
"qq": "string",
"weChat": "string",
"weibo": "string",
"csdn": "string",
"zhihu": "string",
"juejin": "string",
"twitter": "string",
"stackoverflow": "string",
"touristAvatar": "string",
"userAvatar": "string",
"isCommentReview": 0,
"isEmailNotice": 0,
"isReward": 0,
"weiXinQRCode": "string",
"alipayQRCode": "string",
"favicon": "string",
"websiteTitle": "string",
"gonganBeianNumber": "string"
}'
返回响应
🟢200成功
application/json
Body
flag
boolean | null
可选
code
integer | null
可选
message
string | null
可选
data
null | null
可选
示例
{
"flag": false,
"code": 0,
"message": "",
"data": null
}