简要描述:
请求域名:
- http://xx.com
请求URL:
route=plugin.debt-shop.admin.order-list.debtList
参数:以下参数除page以外外层为search[]
参数名 | 是否必须 | 类型 | 说明 |
---|---|---|---|
page | 是 | int | 页 |
buyer_uid | 否 | int | 购买人会员ID |
buyer_kwd | 否 | string | 购买人会员昵称姓名手机 |
goods_id | 否 | int | 商品ID |
goods_name | 否 | string | 商品名 |
first_order | 否 | int | 是否查询首单 |
debtor_uid | 否 | int | 债务人会员ID |
debtor_kwd | 否 | string | 债务人会员昵称姓名手机 |
time_field | 否 | string | 搜索时间类型,create_time,pay_time,send_time,finish_time,cancel_time,refund_create_time,refund_finish_time |
order_status | 否 | int | 订单状态 0待支付 1待发货 2待收货 3已完成 -1已退款 -2已关闭 -3退换货 |
address_name | 否 | string | 收货人姓名 |
address | 否 | string | 收货地址 |
address_mobile | 否 | string | 收货人手机 |
order_sn | 否 | string | 订单号 |
express_sn | 否 | string | 运单号 |
pay_sn | 否 | string | 支付单号 |
main_plugin_id | 否 | int | 插件ID,0商场44供应链92供应商 |
supplier_username | 否 | string | 供应商账户名 |
返回示例:
正确时返回:
{
result: 1,
msg: "成功",
data: {
current_page: 1,
data: [
{
id: 4050,
uniacid: 1,
uid: 163814,
order_sn: "SN2204111447F01E5B",
price: "30.00",
goods_price: "20.00",
goods_total: 1,
status: 0,
create_time: "2022-04-11 14:47:59",
is_deleted: 0,
is_member_deleted: 0,
finish_time: "1970-01-01 08:00:00",
pay_time: "1970-01-01 08:00:00",
send_time: "1970-01-01 08:00:00",
cancel_time: "1970-01-01 08:00:00",
created_at: 1649659679,
updated_at: 1649659679,
deleted_at: 0,
cancel_pay_time: "1970-01-01 08:00:00",
cancel_send_time: "1970-01-01 08:00:00",
dispatch_type_id: 1,
dispatch_price: "10.00",
discount_price: "0.00",
pay_type_id: 0,
order_goods_price: "20.00",
deduction_price: "0.00",
refund_id: 0,
is_plugin: 0,
change_price: "0.00",
change_dispatch_price: "0.00",
comment_status: 0,
order_pay_id: "",
is_virtual: 0,
plugin_id: 147,
mark: "0",
is_pending: 0,
note: null,
cost_amount: "20.00",
shop_name: "极创悠品",
no_refund: 0,
need_address: 0,
invoice_type: null,
rise_type: null,
collect_name: null,
company_number: null,
invoice: null,
auto_receipt: 0,
fee_amount: "0.00",
service_fee_amount: "0.00",
is_all_send_goods: 0,
close_reason: null,
camilo_resources_coupon_type: 1,
camilo_resources_sub_coupon_type: 1,
camilo_resources_recharge_number: null,
camilo_resources_card: "",
camilo_resources_username: "",
vip_order_goods_price: "20.00",
buyer_member: {
uid: 164767,
nickname: "小良子",
mobile: "13547567468",
avatar: "https://thirdwx.qlogo.cn/mmopen/vi_32/Q0j4TwGTfTJ5KznVNASmiayuApZE54FOGvVAkWGcKCGwK8Mwn3hicwQibzic3ibO30IfdmLO6pZibzWnXsZD9EQzxV2Q/132",
avatar_image: "https://thirdwx.qlogo.cn/mmopen/vi_32/Q0j4TwGTfTJ5KznVNASmiayuApZE54FOGvVAkWGcKCGwK8Mwn3hicwQibzic3ibO30IfdmLO6pZibzWnXsZD9EQzxV2Q/132",
username: "小良子"
},
debtor_name: "21",
buyer_order_id: 4049,
status_name: "待付款",
pay_type_name: "未支付",
process: [ ],
has_one_pay_type: {
id: 0,
name: "未支付",
plugin_id: 0,
code: "unPay",
type: 0,
unit: "",
updated_at: "2017-09-19 09:48:07",
created_at: null,
deleted_at: null,
setting_key: "",
need_password: 0,
group_id: 0
},
has_one_dispatch_type: {
id: 1,
name: "快递",
plugin: 0,
need_send: 1,
code: "dispatch",
enable: 1,
sort: 0,
created_at: null,
updated_at: "2020-10-19 14:23:29"
},
order_goods: [
{
id: 4095,
uniacid: 1,
goods_id: 92726,
pay_sn: "",
total: 1,
create_at: 0,
price: "20.00",
goods_sn: "",
uid: 163814,
thumb: "http://shop-yunzshop-com.oss-cn-hangzhou.aliyuncs.com/newimage/4c5fac94352bc2ab0cb706bb7155c3f2.jpg",
title: "订单换货",
goods_price: "20.00",
goods_option_id: 0,
goods_option_title: "",
product_sn: "",
created_at: "2022-04-11 14:47:59",
updated_at: "2022-04-11 14:47:59",
discount_price: "0.00",
comment_status: 0,
change_price: "0.00",
comment_id: 0,
goods_market_price: "100.00",
goods_cost_price: "20.00",
vip_price: "20.00",
coupon_price: "0.00",
payment_amount: "20.00",
deduction_amount: "0.00",
need_address: 0,
order_express_id: null,
is_refund: 0,
buttons: [ ],
goods: {
id: 92726,
uniacid: 1,
brand_id: 0,
type: 1,
status: 1,
display_order: 3,
title: "订单换货",
thumb: "newimage/4c5fac94352bc2ab0cb706bb7155c3f2.jpg",
thumb_url: "a:2:{i:0;s:45:"newimage/4c5fac94352bc2ab0cb706bb7155c3f2.jpg";i:1;s:54:"images/1/2021/11/0693a41ee41246bb8bb49146ace99e69.jpeg";}",
sku: "个",
description: "",
content: "<p><img src="https://dev8.yunzmall.com/static/upload/images/1/2019/04/kDy2v8y52o1O21ROa82ww2PO2rORZy.jpg" alt="images/1/2019/04/kDy2v8y52o1O21ROa82ww2PO2rORZy.jpg" width="100%" /></p> <p style="margin: 0;"><img style="max-width: 100%; vertical-align: middle;" src="https://shop-yunzshop-com.oss-cn-hangzhou.aliyuncs.com/images/1/2021/12/68a0a0cfdbaa5785ee764c1971887026.jpg" /></p> <p style="margin: 0;"><img style="max-width: 100%; vertical-align: middle;" src="https://dev8.yunzmall.com/static/upload/images/1/2021/12/CIjuUiIaU9Op7aa709QT1UIouuU7Ge.jpg" /></p> <p style="margin: 0;"><img style="max-width: 100%; vertical-align: middle;" src="https://shop-yunzshop-com.oss-cn-hangzhou.aliyuncs.com/images/1/2021/11/c7dd41b0c15301e8cd726673aa875e99.jpg" /></p>",
goods_sn: "",
product_sn: "",
market_price: "100.00",
price: "20.00",
cost_price: "20.00",
stock: 376,
reduce_stock_method: 0,
show_sales: 120,
real_sales: 120,
weight: "0.00",
has_option: 0,
is_new: 0,
is_hot: 0,
is_discount: 0,
is_recommand: 0,
is_comment: 0,
is_deleted: 0,
created_at: "2021-12-06 17:31:53",
deleted_at: null,
updated_at: "2022-04-08 16:25:46",
comment_num: 0,
is_plugin: 0,
plugin_id: 0,
virtual_sales: 0,
no_refund: 0,
need_address: 0,
type2: 1,
old_id: null,
volume: "0.000",
goods_video: null,
alias: "会员测试aa",
status_name: "上架"
}
}
],
address: {
address: "宁夏回族自治区 吴忠市 利通区 金银滩镇 七七和二",
mobile: "13112345678",
realname: "卡卡",
updated_at: "2022-04-11 14:47:59",
created_at: "2022-04-11 14:47:59",
province_id: 640000,
city_id: 640300,
district_id: 640302,
note: null,
street_id: 640302101,
zipcode: "",
longitude: "",
latitude: ""
},
express: null,
has_one_member: {
nickname: "Swag",
uid: 163814,
avatar: "https://thirdwx.qlogo.cn/mmopen/vi_32/xv46wAJPwM5lc0D5ibNAw4vqlkjJia8n3f86y1xd2mxQw9b70ibamnB4QLldvuLJicibBsXEpvibFeLE9NQwHynxO6Mw/132",
mobile: "13437845476",
avatar_image: "https://thirdwx.qlogo.cn/mmopen/vi_32/xv46wAJPwM5lc0D5ibNAw4vqlkjJia8n3f86y1xd2mxQw9b70ibamnB4QLldvuLJicibBsXEpvibFeLE9NQwHynxO6Mw/132",
username: "Swag"
},
has_one_supplier_order: null
}
],
first_page_url: "https://dev8.yunzmall.com/admin/shop?page=1",
from: 1,
last_page: 4,
last_page_url: "https://dev8.yunzmall.com/admin/shop?page=4",
next_page_url: "https://dev8.yunzmall.com/admin/shop?page=2",
path: "https://dev8.yunzmall.com/admin/shop",
per_page: 1,
prev_page_url: null,
to: 1,
total: 4
}
}
错误时返回:
{
}
返回参数说明:
参数名 | 类型 | 说明 |
---|---|---|
名称 | 类型 | 说明 |
id | int | 订单ID |
buyer_member | object | 网点订单下单人会员信息 |
debtor_name | string | 债务人姓名 |
buyer_order_id | int | 网点订单ID |
buyer_order_plugin_id | int | 网点订单插件ID,0商城,44供应链,92供应商 |