分销商列表
开发中
GET
/adminapi/distribution.distributor/lists
请求参数
Query 参数
user_keyword
string
用户信息
leader_keyword
string
邀请人信息
distribution_status
integer
可选
start_time
string
成为分销商开始时间
end_time
string
成为分销商结束时间
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/lists?user_keyword&leader_keyword&distribution_status&start_time&end_time' \
--header 'token;'
返回响应
🟢200成功
application/json
Body
code
integer
必需
show
integer
必需
msg
string
必需
data
object
必需
lists
array [object {11}]
必需
count
integer
必需
page_no
integer
必需
page_size
integer
必需
extend
array[string]
必需
示例
{
"code": 1,
"show": 0,
"msg": "",
"data": {
"lists": [
{
"id": 7,
"avatar": "http://www.php-ws.localhost/resource/image/adminapi/default/default_avatar.png",
"nickname": "用户10031527",
"user_sn": 10031527,
"user_earnings": "0.00",
"total_earnings": "0.00",
"leader_nickname": "系统",
"distribution_status": 1,
"distribution_time": "2024-03-11 17:54:14",
"below_num": 0,
"distribution_status_desc": "正常"
}
],
"count": 1,
"page_no": 1,
"page_size": 25,
"extend": []
}
}
修改于 2024-03-12 03:09:50