API call address
{域名地址}/api/retailer/statistics
illustrate:{域名地址}
You need to replace it with your domain address, such as/api/retailer/statistics
Calling methods
GET
Request parameters
none
Return parameters
Field name | type | illustrate |
---|---|---|
code | int | Error code |
msg | string | Error Cause Description |
data | object | Results content |
Data parameters
Field name | type | illustrate |
---|---|---|
can_withdraw_amount | int | Cash withdrawal commission |
paid_withdraw_amount | int | Withdrawal commission |
unfinished_withdraw_amount | int | Unsettled commission |
member_count | int | Team number |
Request data example
none
Return to the data example
{
"code": 0,
"data": {
"can_withdraw_amount": 10000,
"member_count": 10,
"paid_withdraw_amount": 0,
"unfinished_withdraw_amount": 0
},
"msg": ""
}
Error code
Error code | illustrate |
---|---|
0 | OK |
-1 | Error, the cause of the error is pointed out in msg |
1001 | Not logged in |
1002 | Unauthorized |
200 | API request OK |