基础配置
GET
/staffapi/config/config
请求参数
Header 参数
token
string
必需
示例值:
217ba8ac94c48c81403500017f8c13fc
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request GET '/staffapi/config/config' \
--header 'token: 217ba8ac94c48c81403500017f8c13fc' \
--header 'token;'
返回响应
🟢200成功
application/json
Body
code
integer
必需
show
integer
必需
msg
string
必需
data
object
必需
staff_name
string
网站名称
staff_logo
string
网站logo
version
string
版本号
default_avatar
string
默认头像
domain
string
文件域名
示例
{
"code": 1,
"show": 0,
"msg": "获取成功",
"data": {
"login_way": [
"1",
"2"
],
"coerce_mobile": 0,
"login_agreement": null,
"third_auth": null,
"wechat_auth": null,
"qq_auth": null,
"info": "Copyright © 2019-2020",
"icp_number": 1231412,
"icp_link": "http://beian.miit.gov.cn",
"navigation_menu": [],
"style": "{}",
"tencent_map_key": "A7IBZ-G6JC3-3YD3H-YZCT3-73IH2-RAFVN",
"web_name": "跑腿",
"web_logo": "http://www.pt.localhost/uploads/images/20220906120137b5ba39429.png",
"shop_name": "跑腿",
"shop_logo": "http://www.pt.localhost/uploads/images/20220906120137b5ba39429.png",
"version": "1",
"default_avatar": "https://paotui.yixiangonline.com/uploads/images/20220906141034734bb0681.png",
"h5_settings": {
"status": 1,
"page_status": 0,
"page_url": "",
"url": "http://www.pt.localhost/mobile"
}
}
}
修改于 2024-11-07 03:04:37