文档
测试

申请提现

POST
http://localhost:8080/app/new/withdraw

接口描述

申请提现

请求参数

参数名
类型
描述
必填
user_id
string
用户id 示例:b9df066bb8bb4829891f949383497244
必填
sign
string
示例:d7977b7db2a0398050d7797dd2593229
必填

响应参数

参数名
类型
描述
必填
code
int
示例:1
必填
errors
object
数据字典
必填
msg
string
示例:操作成功
必填
result
object
数据字典
必填
withdraw_amount
float
可提现金额 示例:261.86
必填
total_withdraw_amount
int
累计提现 示例:0
必填
apply_withdraw_amount
int
提现申请中 示例:0
必填
withdraw_type_list
array
提现项列表
必填
withdraw_amount
int
已提现 示例:0
必填
withdraw_type
int
提现类别 带到第二个页面去 提交时需要使用 示例:100
必填
balance
float
余额 示例:254.12
必填
profit_amount
float
总收益 示例:261.86
必填
withdraw_type_name
string
提现标题 示例:推荐奖励
必填

说明 / 示例

{ "code": 1, "errors": { }, "msg": "操作成功", "result": { "withdraw_amount": 261.86, "withdraw_type_list": [ { "withdraw_amount": 0, "withdraw_type": 100, "balance": 254.12, "profit_amount": 261.86, "withdraw_type_name": "推荐奖励" }, { "withdraw_amount": 0, "withdraw_type": 1, "balance": 0.2, "profit_amount": 0, "withdraw_type_name": "支付收益" }, { "withdraw_amount": 0, "withdraw_type": 300, "balance": 3.84, "profit_amount": 3.84, "withdraw_type_name": "海淘收益" }, { "withdraw_amount": 0, "withdraw_type": 400, "balance": 0, "profit_amount": 0, "withdraw_type_name": "平台补贴" }, { "withdraw_amount": 0, "withdraw_type": 500, "balance": 0, "profit_amount": 0, "withdraw_type_name": "增值收益" }, { "withdraw_amount": 0, "withdraw_type": 600, "balance": 0.1, "profit_amount": 3.7, "withdraw_type_name": "分红奖励" } ], "total_withdraw_amount": 0, "apply_withdraw_amount": 0 } }