PC端配置接口
GET
/api/pc/getConfig请求参数
无
示例代码
返回响应
成功(200)
HTTP 状态码: 200
内容格式: JSONapplication/json
数据结构
code
integer
必需
msg
string
必需
data
object
必需
version
string
版本号
domain
string
域名
login
object
登录配置
website
object
网站配置
copyright
object
备案信息
qrcode
object
必需
示例
{
"code": 200,
"msg": "成功",
"data": {
"version": "v1.3.4",
"domain": "http://localhost:8089/",
"login": {
"loginWay": [
1,
2
],
"forceBindMobile": 0,
"openAgreement": 1,
"openOtherAuth": 1,
"autoLoginAuth": [
1,
2
]
},
"website": {
"shopName": "LikeAdmin开源系统",
"shopLogo": "http://localhost:8089/api/static/shop_logo.png",
"pcDesc": "",
"pcIco": "",
"pcKeywords": "",
"pcLogo": "",
"pcTitle": ""
},
"copyright": {
"name": "LikeAdmin开源系统",
"link": "http://www.beian.gov.cn"
},
"qrcode": {
"mnp": "",
"oa": ""
}
}
}
最后修改时间: 2 年前