全局配置
GET
/api/index/config请求参数
无
示例代码
返回响应
成功(200)
HTTP 状态码: 200
内容格式: JSONapplication/json
数据结构
code
integer
必需
msg
string
必需
data
object
必需
domain
string
必需
style
object
必需
tabbar
array [object {4}]
必需
login
object
必需
website
object
必需
示例
{
"code": 200,
"msg": "成功",
"data": {
"domain": "http://127.0.0.1:8084/",
"style": {
"defaultColor": "#333",
"selectedColor": "#333"
},
"tabbar": [
{
"name": "首页",
"selected": "http://127.0.0.1:8084/api/uploads/ee.png",
"unselected": "http://127.0.0.1:8084/api/uploads/we.png",
"link": "{}"
}
],
"login": {
"loginWay": [
1,
2
],
"forceBindMobile": 0,
"openAgreement": 0,
"openOtherAuth": 1,
"autoLoginAuth": [
1,
2
]
},
"website": {
"name": "JAVA开源后台",
"logo": "http://127.0.0.1:8084/api/static/backend_logo.png",
"favicon": "http://127.0.0.1:8084/api/static/backend_favicon.ico"
}
}
}
最后修改时间: 2 年前