简要描述:
-提现详情
请求URL:
&route=plugin.shop-assistant.frontend.withdraw.withdraw-detail
请求参数说明:
参数名 | 类型 | 是否必需 | 说明 |
---|---|---|---|
id | int | 是 | 提现ID |
返回示例:
正确时返回:
{
"result": 1,
"msg": "ok",
"data": {
"id": 5,
"withdraw_sn": "WS20190419180856846238",
"created_at": "2019-04-19 18:08:56",
"status": 2,
"pay_way": "balance",
"type": "Yunshop\\StoreCashier\\common\\models\\StoreOrder",
"type_name": "门店提现",
"amounts": "153.45",
"poundage": "0.00",
"actual_amounts": "153.45",
"actual_poundage": "0.00",
"servicetax": "0.00",
"type_id": "1",
"status_name": "已打款",
"pay_way_name": "提现到余额",
"pay_way_icon": "zhifubao",
"payment_button_name": "打款到余额",
"type_data": {
"income_total": 1,
"incomes": [
{
"id": 1,
"uniacid": 1,
"member_id": 16,
"dividend_code": null,
"incometable_type": "Yunshopx5cTeamDividendx5cmodelsx5cTeamDividendModel",
"incometable_id": 1,
"type_name": "经销商提成",
"amount": "40.00",
"status": 0,
"pay_status": 0,
"detail": "{\"area_dividend\":{\"title\":\"x5cu7ecfx5cu9500x5cu5546x5cu63d0x5cu6210\",\"data\":[{\"title\":\"x5cu8ba2x5cu5355x5cu5206x5cu7ea2x5cu7ed3x5cu7b97x5cu91d1x5cu989d\",\"value\":\"40.00x5cu5143\"},{\"title\":\"x5cu5206x5cu7ea2x5cu6bd4x5cu4f8b\",\"value\":\"0%\"},{\"title\":\"x5cu4e0bx5cu7ea7x5cu5206x5cu7ea2x5cu6bd4x5cu4f8b\",\"value\":\"0%\"},{\"title\":\"x5cu5206x5cu7ea2x5cu91d1x5cu989d\",\"value\":\"40.00x5cu5143\"},{\"title\":\"x5cu7ed3x5cu7b97x5cu65f6x5cu95f4\",\"value\":\"2020-01-01 01:20:02\"},{\"title\":\"x5cu5206x5cu7ea2x5cu7b49x5cu7ea7\",\"value\":\"x5cu603bx5cu4ee3\"}]},\"order\":{\"title\":\"x5cu8ba2x5cu5355\",\"data\":[{\"title\":\"x5cu8ba2x5cu5355x5cu53f7\",\"value\":\"SN20200101011311mI\"},{\"title\":\"x5cu8ba2x5cu5355x5cu91d1x5cu989d\",\"value\":\"400.00\"},{\"title\":\"x5cu5b8cx5cu6210x5cu65f6x5cu95f4\",\"value\":\"2020-01-28 14:46:42\"}]}}",
"create_month": "2020-01",
"created_at": "2020-01-01 01:20:02",
"updated_at": "2020-01-28 14:46:44",
"deleted_at": null,
"separate": null,
"order_sn": "",
"status_name": "未提现",
"pay_status_name": "未审核"
}
]
}
}
}
返回参数说明:
参数名 | 类型 | 说明 | |
---|---|---|---|
id | int | id | |
withdraw_sn | string | 提现单号 | |
created_at | string | 提现时间 | |
status | string | 提现状态:-1无效,0未审核,1待打款,2已打款,3已驳回,4打款中 | |
status_name | string | 提现状态转中文 | |
pay_way | string | 提现打款方式:balance余额,wechat微信,alipay支付宝 | |
pay_way_icon | string | 提现打款方式使用图标 | |
member_id | int | 提现会员ID | |
type | string | 收入类型 | |
type_name | string | 提现收入类型名称 | |
amounts | float | 提现金额 | |
poundage | float | 手续费 | |
actual_amounts | float | 最终打款金额 | |
actual_poundage | float | 最终手续费 | |
payment_button_name | string | 需要显示打款按钮时,该按钮名字使用这个 | |
type_data | array | 提现记录明细(收入提现才有) |
type_data返回参数说明:
参数名 | 类型 | 说明 | |
---|---|---|---|
income_total | int | 收入记录数量 | |
incomes | array | 收入明细数据 |
incomes返回参数说明:
参数名 | 类型 | 说明 | |
---|---|---|---|
id | int | 收入ID | |
amount | float | 金额 | |
created_at | string | 时间 | |
created_at | string | 时间 | |
status | int | 收入状态 | |
status | int | 打款状态 | |
status_name | string | 收入状态名 | |
pay_status_name | string | 打款状态名 |
错误时返回:
{
"result": 0,
"msg": "请登录",
"data": []
}