工作台
GET
/platformapi/workbench/index
请求参数
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/workbench/index' \
--header 'version: 2.0' \
--header 'token: {{ptoken}}'
返回响应
🟢200成功
application/json
Body
code
integer
必需
show
integer
必需
msg
string
必需
data
object
必需
platform_info
object
必需
accumulated_data
object
必需
示例
{
"code": 1,
"show": 0,
"msg": "",
"data": {
"platform_info": {
"name": "PLUS-多开版",
"platform_admin_name": "平台超级管理员",
"platform_admin_avatar": "http://b2cplusduokai.localhost/resource/image/platformapi/default/avatar.png"
},
"accumulated_data": {
"all_shop_order_amount": 0,
"shop_count": 2,
"all_shop_order_count": 0,
"all_shop_user_count": 0
}
}
}
修改于 2022-10-15 14:05:55