分销商详情
开发中
GET
/adminapi/distribution.distributor/detail
请求参数
Query 参数
id
integer
分销商id
Header 参数
token
string
可选
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request GET '/adminapi/distribution.distributor/detail?id' \
--header 'token;'
返回响应
🟢200成功
application/json
Body
code
integer
必需
show
integer
必需
msg
string
必需
data
object
必需
id
integer
分销商id
avatar
string
头像
nickname
string
昵称
real_name
string
真实姓名
user_earnings
string
可提现佣金
total_earnings
string
累计获得佣金
leader_nickname
null
邀请人昵称
leader_is_distribution
null
必需
distribution_status
integer
分销状态
distribution_time
string
成为分销商时间
below_num
integer
下级人数
below_distribution_num
integer
下级分销商
distribution_order_num
integer
分销订单数量
distribution_status_desc
string
分销状态
示例
{
"code": 1,
"show": 0,
"msg": "",
"data": {
"id": 7,
"avatar": "http://www.php-ws.localhost/resource/image/adminapi/default/default_avatar.png",
"nickname": "用户10031527",
"real_name": "",
"user_earnings": "0.00",
"total_earnings": "0.00",
"leader_nickname": null,
"leader_is_distribution": null,
"distribution_status": 1,
"distribution_time": "2024-03-11 17:54:14",
"below_num": 0,
"below_distribution_num": 0,
"distribution_order_num": 0,
"distribution_status_desc": "正常"
}
}
修改于 2024-03-12 06:54:58