全局配置
开发中GET
/api/index/config请求参数
无
示例代码
返回响应
成功(200)
HTTP 状态码: 200
内容格式: JSONapplication/json
数据结构
code
integer
必需
show
integer
必需
msg
string
必需
data
object
必需
domain
string
文件域名
style
string
样式配置
tabbar
array [object {7}]
底部导航配置
login
object
登录配置
website
object
网站配置
webPage
object
h5配置
示例
{
"code": 1,
"show": 0,
"msg": "",
"data": {
"domain": "http://www.likeadmin.localhost/",
"style": "{}",
"tabbar": [
{
"id": 2,
"name": "21",
"selected": "https://likeadmin-java.yixiangonline.com/api/uploads/image/20220825/b16ca31f-ebd1-414d-b581-a5db49b4c66d.png",
"unselected": "https://likeadmin-java.yixiangonline.com/api/uploads/image/20220825/c80f6dfc-3e08-484a-9f5c-48750331a8c6.jpg",
"link": "{\"path\":\"/pages/webview/webview\",\"query\":{\"url\":\"www.baidu.com\"},\"type\":\"custom\"}",
"create_time": "2022-09-14 18:27:23",
"update_time": "2022-09-14 18:27:23"
}
],
"login": {
"login_way": [
"1"
],
"coerce_mobile": 1,
"login_agreement": 1,
"third_auth": 1,
"wechat_auth": 1,
"qq_auth": 1
},
"website": {
"shop_name": null,
"shop_logo": "http://www.likeadmin.localhost/"
},
"webPage": {
"status": 1,
"page_status": 0,
"page_url": "",
"url": "http://www.likeadmin.localhost/mobile"
}
}
}
最后修改时间: 2 年前