API Call Address
{域名地址}/api/retailer/withdraw
Description:{域名地址}
Need to replace it with your domain address, such ashttps://en.anqicms.com/api/retailer/withdraw
Calling method
GET
Request parameters
Field name |
Type |
Required |
Description |
current |
int |
No |
Get specified pagination data, current page number |
Page size |
int |
No |
Display quantity, items per page |
Return parameters
Field name |
Type |
Description |
code |
int |
error code |
msg |
string |
error reason description |
data |
object |
result content |
Total |
int |
Total count |
data parameter
Field name |
Type |
Description |
id |
int |
ID |
user_id |
int |
User ID |
Amount |
int |
Withdrawal amount |
Success time |
int |
Success Time |
Withdrawal Method |
int |
Withdrawal Destination, 1 WeChat Withdrawal, 2 Alipay Withdrawal, 3 Offline |
status |
int |
Withdrawal status, 0-waiting for processing 1-agreed 2-withdrawn, -1 withdrawal error |
error_times |
int |
Number of processing errors |
last_time |
int |
Last processing time |
remark |
int |
Note |
user_name |
int |
Username |
request data example
Parameter |
Value |
current |
1 |
Return Data Example
{
"code": 0,
"data": {
"id": 1,
"user_id": 1000,
"created_time": 1669012062,
"updated_time": 1679536756,
"amount": 10000,
"user_name": "admin",
"success_time": 1679536756,
"withdraw_way": 1,
"status": 1,
"error_times": 0,
"last_time": 1679536756,
"remark": "用户提现"
},
"msg": ""
}
Error Code
error code |
Description |
0 |
OK |
-1 |
Error, the reason is indicated in the msg |
1001 |
Not logged in |
1002 |
Unauthorized |
200 |
API request OK |