简要描述:
请求域名:
- http://xx.com
请求URL:
plugin.debt-shop.frontend.order-detail.index
参数:
参数名 | 是否必须 | 类型 | 说明 |
---|---|---|---|
order_id | 是 | int | 订单ID |
member_type | 是 | int | 身份类型 1债权人 2债务人采购订单 3VIP 4债务人网店订单 |
返回示例:
正确时返回:
{
result: 1,
msg: "ok",
data: {
id: 22300,
order_sn: "SN220408145007A024",
price: "0.00",
goods_price: "1.00",
goods_total: 1,
status: 1,
create_time: "2022-04-08 14:50:40",
finish_time: "1970-01-01 08:00:00",
pay_time: "2022-04-08 14:50:58",
send_time: "1970-01-01 08:00:00",
cancel_pay_time: "1970-01-01 08:00:00",
cancel_send_time: "1970-01-01 08:00:00",
dispatch_type_id: 1,
dispatch_price: "0.00",
discount_price: "1.00",
pay_type_id: 54,
order_goods_price: "1.00",
deduction_price: "0.00",
refund_id: 31,
is_plugin: 0,
change_price: "0.00",
change_dispatch_price: "0.00",
comment_status: 0,
order_pay_id: "27959",
is_virtual: 0,
plugin_id: 0,
mark: "0",
is_pending: 0,
note: null,
cost_amount: "0.50",
shop_name: "芸信商城11",
no_refund: 0,
need_address: 0,
invoice_type: 0,
rise_type: 1,
collect_name: "",
company_number: "0",
invoice: null,
auto_receipt: 0,
fee_amount: "0.00",
service_fee_amount: "0.00",
is_all_send_goods: 0,
close_reason: null,
vip_order_goods_price: "1.00",
dispatch_type_name: "快递",
status_name: "待发货",
pay_type_name: "确认",
button_models: [
{
name: "售后中",
value: 18,
api: "refund.detail",
type: ""
}
],
process: [ ],
has_one_pay_type: {
id: 54,
name: "确认",
plugin_id: 0,
code: "confirmPay",
type: 2,
unit: "元",
updated_at: "2020-08-24 11:11:38",
created_at: "2020-08-24 11:11:38",
deleted_at: null,
setting_key: "pay",
need_password: 0,
group_id: 0
},
has_many_order_goods: [
{
id: 22488,
uniacid: 1,
goods_id: 158,
pay_sn: "",
total: 1,
create_at: 0,
price: "1.00",
goods_sn: "",
uid: 164935,
thumb: "https://shop-yunzshop-com.oss-cn-hangzhou.aliyuncs.com/newimage/5d5feaadb110164c2aa168ec76c677a1.jpg",
title: "xu",
goods_price: "1.00",
goods_option_id: 0,
goods_option_title: "",
product_sn: "",
created_at: "2022-04-08 14:50:40",
updated_at: "2022-04-08 14:50:40",
discount_price: "0.00",
comment_status: 0,
change_price: "0.00",
comment_id: 0,
goods_market_price: "2.00",
goods_cost_price: "0.50",
vip_price: "1.00",
coupon_price: "0.00",
payment_amount: "0.00",
deduction_amount: "0.00",
need_address: 0,
order_express_id: null,
is_refund: 0,
points: "",
buttons: [ ],
has_one_comment: null,
has_one_goods: {
id: 158,
uniacid: 1,
brand_id: 0,
type: 1,
status: 1,
display_order: 0,
title: "xu",
thumb: "newimage/5d5feaadb110164c2aa168ec76c677a1.jpg",
thumb_url: "a:0:{}",
sku: "个",
goods_sn: "",
product_sn: "",
market_price: "2.00",
price: "1.00",
cost_price: "0.50",
stock: 987,
reduce_stock_method: 0,
show_sales: 11,
real_sales: 11,
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: "2022-03-07 10:18:39",
deleted_at: null,
updated_at: "2022-04-08 14:50:58",
comment_num: 0,
is_plugin: 0,
plugin_id: 0,
virtual_sales: 999,
no_refund: 0,
need_address: 0,
type2: 1,
old_id: null,
volume: "0.000",
alias: "",
vip_price: "1.00",
next_level_price: "0.90",
has_many_goods_discount: [
{
id: 1710,
goods_id: 158,
level_discount_type: 1,
discount_method: 1,
level_id: 0,
discount_value: "",
created_at: "2022-04-01 14:36:52",
updated_at: "2022-04-01 14:36:52",
deleted_at: null
},
{
id: 1711,
goods_id: 158,
level_discount_type: 1,
discount_method: 1,
level_id: 1,
discount_value: "",
created_at: "2022-04-01 14:36:52",
updated_at: "2022-04-01 14:36:52",
deleted_at: null
},
{
id: 1712,
goods_id: 158,
level_discount_type: 1,
discount_method: 1,
level_id: 2,
discount_value: "",
created_at: "2022-04-01 14:36:52",
updated_at: "2022-04-01 14:36:52",
deleted_at: null
}
]
},
order: {
id: 22300,
uniacid: 1,
uid: 164935,
order_sn: "SN220408145007A024",
price: "0.00",
goods_price: "1.00",
goods_total: 1,
status: 1,
create_time: "2022-04-08 14:50:40",
is_deleted: 0,
is_member_deleted: 0,
finish_time: "1970-01-01 08:00:00",
pay_time: "2022-04-08 14:50:58",
send_time: "1970-01-01 08:00:00",
cancel_time: "1970-01-01 08:00:00",
created_at: 1649400640,
updated_at: 1649400683,
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: "0.00",
discount_price: "1.00",
pay_type_id: 54,
order_goods_price: "1.00",
deduction_price: "0.00",
refund_id: 31,
is_plugin: 0,
change_price: "0.00",
change_dispatch_price: "0.00",
comment_status: 0,
order_pay_id: "27959",
is_virtual: 0,
plugin_id: 0,
mark: "0",
is_pending: 0,
note: null,
cost_amount: "0.50",
shop_name: "芸信商城11",
no_refund: 0,
need_address: 0,
invoice_type: 0,
rise_type: 1,
collect_name: "",
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,
vip_order_goods_price: "1.00",
status_name: "待发货",
pay_type_name: "确认",
process: [ ],
has_one_pay_type: {
id: 54,
name: "确认",
plugin_id: 0,
code: "confirmPay",
type: 2,
unit: "元",
updated_at: "2020-08-24 11:11:38",
created_at: "2020-08-24 11:11:38",
deleted_at: null,
setting_key: "pay",
need_password: 0,
group_id: 0
},
has_one_behalf_pay: null
},
store_id: null,
is_course: 0
}
],
order_deduction: [ ],
order_discount: [
{
id: 1456,
uid: 164935,
order_id: 22300,
discount_code: "debtShopDiscount",
name: "置换亿栈",
amount: "1.00",
is_indirect: 0,
updated_at: "2022-04-08 14:50:40",
created_at: "2022-04-08 14:50:40",
deleted_at: null,
no_show: 0
}
],
order_fees: [ ],
order_service_fees: [ ],
order_coupon: [ ],
order_invoice: {
id: 46,
uid: 164935,
uniacid: 1,
order_id: 22300,
invoice_type: 0,
rise_type: 1,
collect_name: "",
company_number: "0",
invoice: "0",
email: "",
need_invoice: 0,
updated_at: "2022-04-08 14:50:40",
created_at: "2022-04-08 14:50:40",
deleted_at: null,
enterprise_id: "",
invoice_sn: "",
equipment_number: "",
bill_type: 0,
special_type: 0,
collection: 0,
list_identification: 0,
xsf_name: "",
xsf_taxpayer: "",
xsf_address: "",
xsf_mobile: "",
xsf_bank_admin: "",
gmf_taxpayer: "",
gmf_address: "",
gmf_bank: "",
gmf_bank_admin: "",
gmf_mobile: "",
content: "",
drawer: "",
payee: "",
reviewer: "",
remarks: "",
notice_no: "",
applicant: "",
is_audit: 0,
detail_param: "",
tax_rate: 0,
zero_tax_rate: 0,
invoice_no: "",
invoice_nature: 0,
status: 0,
invoice_time: 1649400640,
invoice_image: "",
apply: 0,
col_address: "",
col_name: "",
col_mobile: ""
},
order_address: {
address: "广东省 广州市 白云区 三元里街道 【emt】",
mobile: "13711106018",
realname: "xujia",
updated_at: "2022-04-08 14:50:40",
created_at: "2022-04-08 14:50:40",
province_id: 440000,
city_id: 440100,
district_id: 440111,
note: null,
street_id: 440111002,
zipcode: "",
longitude: "113.257363",
latitude: "23.157305"
},
has_one_behalf_pay: null,
has_one_refund_apply: {
id: 31,
refund_sn: "RN20220408145123wa",
refund_type: 0,
status: 0,
price: "0.00",
reason: "拍错/多拍/不想要",
images: [ ],
content: "11",
create_time: "2022-04-08 14:51:23",
reply: "",
reject_reason: "",
refund_way_type: 0,
apply_price: "0.00",
order_price: "0.00",
refund_proof_imgs: [ ],
refund_time: null,
refund_address: "",
remark: "",
operate_time: null,
send_time: null,
return_time: null,
end_time: "1970-01-01 08:00:00",
alipay_batch_sn: "",
receive_status: 0,
part_refund: 0,
freight_price: "0.00",
other_price: "0.00",
refund_type_name: "退款",
status_name: "待审核",
is_refunded: false,
is_refunding: true,
is_refund_fail: false,
plugin_id: 0,
receive_status_name: "未收到货",
refund_way_type_name: "自行寄回",
order: {
id: 22300,
uniacid: 1,
uid: 164935,
order_sn: "SN220408145007A024",
price: "0.00",
goods_price: "1.00",
goods_total: 1,
status: 1,
create_time: "2022-04-08 14:50:40",
is_deleted: 0,
is_member_deleted: 0,
finish_time: "1970-01-01 08:00:00",
pay_time: "2022-04-08 14:50:58",
send_time: "1970-01-01 08:00:00",
cancel_time: "1970-01-01 08:00:00",
created_at: 1649400640,
updated_at: 1649400683,
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: "0.00",
discount_price: "1.00",
pay_type_id: 54,
order_goods_price: "1.00",
deduction_price: "0.00",
refund_id: 31,
is_plugin: 0,
change_price: "0.00",
change_dispatch_price: "0.00",
comment_status: 0,
order_pay_id: "27959",
is_virtual: 0,
plugin_id: 0,
mark: "0",
is_pending: 0,
note: null,
cost_amount: "0.50",
shop_name: "芸信商城11",
no_refund: 0,
need_address: 0,
invoice_type: 0,
rise_type: 1,
collect_name: "",
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,
vip_order_goods_price: "1.00",
status_name: "待发货",
pay_type_name: "确认",
process: [ ],
has_one_pay_type: {
id: 54,
name: "确认",
plugin_id: 0,
code: "confirmPay",
type: 2,
unit: "元",
updated_at: "2020-08-24 11:11:38",
created_at: "2020-08-24 11:11:38",
deleted_at: null,
setting_key: "pay",
need_password: 0,
group_id: 0
},
has_one_behalf_pay: null
}
},
email: "",
invoice_state: 0,
address_info: {
address: "广东省 广州市 白云区 三元里街道 【emt】",
mobile: "13711106018",
realname: "xujia"
},
is_boss: false,
aggregation_cps_recharge_bill: {
recharge_number: ""
},
receipt_goods_notice: ""
}
}
错误时返回:
{
}
返回参数说明:
参数名 | 类型 | 说明 |
---|---|---|
名称 | 类型 | 说明 |