获取平台基础信息
GET
/platformapi/settings.platform/getBaseConfig
请求参数
Header 参数
version
string
可选
默认值:
2.0
token
string
可选
默认值:
{{ptoken}}
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request GET '/platformapi/settings.platform/getBaseConfig' \
--header 'version: 2.0' \
--header 'token: {{ptoken}}'
返回响应
🟢200成功
application/json
Body
code
integer
必需
show
integer
必需
msg
string
必需
data
object
必需
platform_name
string
平台名称
platform_ico
string
平台图标
platform_login_image
string
登录主图
platform_ico_example
string
平台图标示例图
platform_login_image_example
string
平台登录主图示例图
示例
{
"code": 1,
"show": 0,
"msg": "",
"data": {
"platform_name": "测试-多开版",
"platform_ico": "http://b2cplusduokai.localhost/platform.ico",
"platform_login_image": "http://b2cplusduokai.localhost/platform_login_image.png",
"platform_ico_example": "http://b2cplusduokai.localhost/resource/image/platformapi/default/ico_example.png",
"platform_login_image_example": "http://b2cplusduokai.localhost/resource/image/platformapi/default/login_image_example.png"
}
}
修改于 2022-10-15 14:05:56