简要描述:
- 收入提现数据接口
请求域名:
- http://xxx.xxxxxxxxx.xxx
请求URL:
GET/route=finance.income-withdraw.get-withdraw
返回示例:
正确时返回:
{
"result": 1,
"msg": "获取数据成功!",
"data": {
"commission": {
"type": "Yunshop\AreaDividend\models\AreaDividend",
"key_name": "areaDividend",
"type_name": "分销佣金",
"type_id": "39332,40097,41031",
"income": "4148.00",
"poundage": "10",
"poundage_type": 0,
"poundage_rate": "414.80",
"max_roll_out_limit": null,
"max_time_out_limit": null,
"roll_out_limit": 0,
"servicetax": "0.00",
"servicetax_rate": 0,
"special_poundage": "60.19",
"special_poundage_rate": "20",
"special_service_tax": "0.00",
"special_service_tax_rate": 0,
"selected": true,
"can": 1,
"actual_amount": "4148.00",
"income_type ": "default",
"can_all" : true,
"can_amount" : "112.00",
"residue_amount" : "55550"
}
}
}
错误时返回:
{
"result": 0,
"msg": "未检测到数据!",
"data": {}
}
参数说明:
参数名 | 类型 | 说明 |
---|---|---|
type | string | 收入提现类型(数据库查询使用) |
key_name | string | 收入提现类型标识(获取独立设置使用) |
type_name | string | 收入提现类型名称 |
type_id | float | 收入数据表可提现ID集合 |
income | float | 收入可提现金额 |
poundage | int | 手续费金额 |
poundage_type | boolean | 手续费设置类型,0比例计算,1固定金额 |
poundage_rate | string | 手续费比例 |
max_roll_out_limit | string | 最大提现金额 |
max_time_out_limit | string | 最大提现次数 |
roll_out_limit | float | 最小提现金额 |
servicetax | float | 劳务税 |
servicetax_rate | int | 劳务税比例 |
special_poundage | boolean | 提现到余额手续费 |
special_poundage_rate | string | 提现到余额手续费比例(有独立设置) |
special_service_tax | string | 提现到余额劳务税 |
special_service_tax_rate | string | 提现到余额劳务税比例(有独立设置) |
selected | int | 是否可以提现 |
can | boolean | 是否可以提现 |
actual_amount | int | 实际到账金额 |
income_type | int | 收入类型区分(同一种类型可以被勾选,需要用该字段请求打款方式) |
can_amount | string | 当前最高可提现金额 |
residue_amount | string | 剩余可提现金额 |
can_all | boolean | 是否出现当前最高可提现金额 提示 |
备注:
- 更多返回错误代码请看首页的错误代码描述