简要描述:
- 上传发票图片接口,用来校验和绑定发票,校验成功后就会自动绑定发票,并返回发票图片列表
请求域名:
请求URL:
POST/plugin.withdrawal-invoice.frontend.index.withdrawalList
参数:
参数名 |
是否必须 |
类型 |
说明 |
withdraw_type |
是 |
string |
提现类型type |
status |
是 |
int |
提现状态,tab列表有 |
返回示例:
正确时返回:
{
"result": 1,
"msg": "ok",
"data": {
"list": {
"current_page": 1,
"data": [
{
"type_name": "门店提现",
"withdraw_sn": "WS20250618091510502622",
"status": 0,
"type": "Yunshop\\StoreCashier\\common\\models\\StoreOrder",
"pay_way_name": "",
"has_one_invoice": {
"id": 1,
"withdraw_sn": "WS20250618091510502622",
"invoice_status": 0,
"status_name": "待确认"
}
},
{
"type_name": "门店提现",
"withdraw_sn": "WS20250617135019222864",
"status": 3,
"type": "Yunshop\\StoreCashier\\common\\models\\StoreOrder",
"pay_way_name": "",
"has_one_invoice": {
"status_name": "待确认"
}
},
{
"type_name": "门店收银台",
"withdraw_sn": "WS20240815160955058562",
"status": 2,
"type": "Yunshop\\StoreCashier\\common\\models\\CashierOrder",
"pay_way_name": "",
"has_one_invoice": {
"status_name": "待确认"
}
},
{
"type_name": "门店收银台",
"withdraw_sn": "WS20240628135658668623",
"status": 3,
"type": "Yunshop\\StoreCashier\\common\\models\\CashierOrder",
"pay_way_name": "",
"has_one_invoice": {
"status_name": "待确认"
}
},
{
"type_name": "门店提现",
"withdraw_sn": "WS20231219101948492126",
"status": 2,
"type": "Yunshop\\StoreCashier\\common\\models\\StoreOrder",
"pay_way_name": "",
"has_one_invoice": {
"status_name": "待确认"
}
},
{
"type_name": "门店收银台",
"withdraw_sn": "WS20231201111201442529",
"status": 2,
"type": "Yunshop\\StoreCashier\\common\\models\\CashierOrder",
"pay_way_name": "",
"has_one_invoice": {
"status_name": "待确认"
}
},
{
"type_name": "门店提现",
"withdraw_sn": "WS20230630172604858223",
"status": 2,
"type": "Yunshop\\StoreCashier\\common\\models\\StoreOrder",
"pay_way_name": "",
"has_one_invoice": {
"status_name": "待确认"
}
},
{
"type_name": "门店提现",
"withdraw_sn": "WS20230608153605003848",
"status": 2,
"type": "Yunshop\\StoreCashier\\common\\models\\StoreOrder",
"pay_way_name": "",
"has_one_invoice": {
"status_name": "待确认"
}
},
{
"type_name": "门店消费卡",
"withdraw_sn": "WS20230427112406692454",
"status": 0,
"type": "Yunshop\\StoreCard\\Common\\Models\\CardIncomeModel",
"pay_way_name": "",
"has_one_invoice": {
"status_name": "待确认"
}
},
{
"type_name": "门店提现",
"withdraw_sn": "WS20230421165602448248",
"status": 1,
"type": "Yunshop\\StoreCashier\\common\\models\\StoreOrder",
"pay_way_name": "",
"has_one_invoice": {
"status_name": "待确认"
}
},
{
"type_name": "门店提现",
"withdraw_sn": "WS20221230140644449680",
"status": 3,
"type": "Yunshop\\StoreCashier\\common\\models\\StoreOrder",
"pay_way_name": "",
"has_one_invoice": {
"status_name": "待确认"
}
},
{
"type_name": "门店提现",
"withdraw_sn": "WS20221226103127594758",
"status": 3,
"type": "Yunshop\\StoreCashier\\common\\models\\StoreOrder",
"pay_way_name": "",
"has_one_invoice": {
"status_name": "待确认"
}
},
{
"type_name": "门店收银台",
"withdraw_sn": "WS20211026164413241229",
"status": 2,
"type": "Yunshop\\StoreCashier\\common\\models\\CashierOrder",
"pay_way_name": "",
"has_one_invoice": {
"status_name": "待确认"
}
},
{
"type_name": "门店提现",
"withdraw_sn": "WS20210628174834427499",
"status": 4,
"type": "Yunshop\\StoreCashier\\common\\models\\StoreOrder",
"pay_way_name": "",
"has_one_invoice": {
"status_name": "待确认"
}
},
{
"type_name": "门店提现",
"withdraw_sn": "WS20210628173739426403",
"status": 1,
"type": "Yunshop\\StoreCashier\\common\\models\\StoreOrder",
"pay_way_name": "",
"has_one_invoice": {
"status_name": "待确认"
}
}
],
"first_page_url": "http://www.shop777.com/addons/yun_shop/api.php?page=1",
"from": 1,
"last_page": 2,
"last_page_url": "http://www.shop777.com/addons/yun_shop/api.php?page=2",
"links": [
{
"url": null,
"label": "« 上一页",
"active": false
},
{
"url": "http://www.shop777.com/addons/yun_shop/api.php?page=1",
"label": "1",
"active": true
},
{
"url": "http://www.shop777.com/addons/yun_shop/api.php?page=2",
"label": "2",
"active": false
},
{
"url": "http://www.shop777.com/addons/yun_shop/api.php?page=2",
"label": "下一页 »",
"active": false
}
],
"next_page_url": "http://www.shop777.com/addons/yun_shop/api.php?page=2",
"path": "http://www.shop777.com/addons/yun_shop/api.php",
"per_page": 15,
"prev_page_url": null,
"to": 15,
"total": 22
}
},
"validate_page": {
"is_bind_mobile": 0,
"invite_page": 0,
"is_invite": 1,
"is_login": 1,
"invite_mobile": 1,
"bind_address": {
"is_bind_address": 0,
"bind_address_type": 0,
"bind_address_page": []
},
"need_video": 0,
"force_bind_car": 0,
"bind_mobile_page": [],
"is_level_compel": 0
}
}
参数名 |
类型 |
说明 |
result |
int |
接口状态码(1表示成功) |
msg |
string |
接口返回消息("ok"表示成功) |
data |
object |
核心数据对象 |
validate_page |
object |
页面验证配置信息 |
data 对象
参数名 |
类型 |
说明 |
list |
object |
分页数据对象 |
data[] 记录列表
参数名 |
类型 |
说明 |
type_name |
string |
提现类型名称(门店提现/门店收银台/门店消费卡) |
withdraw_sn |
string |
提现流水号(WS开头+日期时间) |
status |
int |
提现状态代码 |
type |
string |
对应数据模型类 |
pay_way_name |
string |
支付方式名称 |
has_one_invoice |
object |
关联发票信息 |
has_one_invoice 发票对象
参数名 |
类型 |
说明 |
status_name |
string |
发票状态名称 |