简要描述:
原API
请求域名:
- http://xx.com
请求路由:
GET/&route=plugin.yz-supply-home-water-machin.frontend.order.order-detail&order_id=46
请求参数说明:
参数名 | 类型 | 是否必需 | 说明 |
---|---|---|---|
order_id | int | 是 | 订单id |
返回示例:
正确时返回:
{
"result": 1,
"msg": "ok",
"data": {
"id": 46,
"order_sn": "SN2509091509B0A3B2",
"price": "1515.00",
"goods_price": "1515.00",
"goods_total": 1,
"status": 0,
"create_time": "2025-09-09 15:09:15",
"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_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": "0.00",
"pay_type_id": 0,
"order_goods_price": "1515.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": 210,
"mark": "0",
"is_pending": 0,
"note": null,
"cost_amount": "1515.00",
"shop_name": "测试",
"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": "1515.00",
"initial_freight": "0.00",
"tax_fee": "0.00",
"created_type": 0,
"camilo_resources_coupon_type": 1,
"camilo_resources_recharge_number": null,
"dispatch_type_name": "快递",
"status_name": "待付款",
"pay_type_name": "未支付",
"button_models": [
{
"name": "支付",
"value": 1,
"api": "order.operation.pay",
"type": ""
},
{
"name": "取消订单",
"value": 9,
"api": "order.operation.close",
"type": ""
}
],
"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_many_order_goods": [
{
"id": 44,
"uniacid": 2,
"goods_id": 283,
"pay_sn": "",
"total": 1,
"create_at": 0,
"price": "1515.00",
"goods_sn": "",
"uid": 1,
"thumb": "https://yunzhong.gz.cn/uploads/file/bc2b3f39b2f85ff1e44249b2744b1412_20241204154958.jpg",
"title": "华为电视",
"goods_price": "1515.00",
"goods_option_id": 448,
"goods_option_title": "默认",
"product_sn": "",
"created_at": "2025-09-09 15:09:15",
"updated_at": "2025-09-09 15:09:15",
"discount_price": "0.00",
"comment_status": 0,
"change_price": "0.00",
"comment_id": 0,
"goods_market_price": "1515.00",
"goods_cost_price": "1515.00",
"vip_price": "1515.00",
"coupon_price": "0.00",
"payment_amount": "1515.00",
"deduction_amount": "0.00",
"need_address": 0,
"order_express_id": null,
"is_refund": 0,
"refund_id": 0,
"type": 0,
"weight": "0.00",
"points": "",
"refunded_total": 0,
"buttons": [],
"after_sales": {
"refund_id": 0,
"refund_type_name": "",
"refund_status_name": "已退款",
"refunded_total": 0,
"complete_quantity": 0
},
"has_one_comment": null,
"order": {
"id": 46,
"uniacid": 2,
"uid": 1,
"order_sn": "SN2509091509B0A3B2",
"price": "1515.00",
"goods_price": "1515.00",
"goods_total": 1,
"status": 0,
"create_time": "2025-09-09 15:09:15",
"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": 1757401755,
"updated_at": 1757401755,
"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": "0.00",
"pay_type_id": 0,
"order_goods_price": "1515.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": 210,
"mark": "0",
"is_pending": 0,
"note": null,
"cost_amount": "1515.00",
"shop_name": "测试",
"no_refund": 0,
"need_address": 0,
"invoice_type": 0,
"rise_type": 0,
"collect_name": "",
"company_number": "",
"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": "1515.00",
"initial_freight": "0.00",
"tax_fee": "0.00",
"created_type": 0,
"camilo_resources_coupon_type": 1,
"camilo_resources_recharge_number": null,
"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
}
},
"is_course": 0
}
],
"order_deduction": [],
"order_discount": [],
"order_fees": [],
"order_service_fees": [],
"order_coupon": [],
"order_invoice": {
"id": 46,
"uniacid": 2,
"order_id": 46,
"need_invoice": 0,
"invoice_type": 0,
"rise_type": 1,
"collect_name": "",
"email": "",
"company_number": null,
"invoice": "",
"updated_at": "2025-09-09 15:09:15",
"created_at": "2025-09-09 15:09:15",
"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": 1757401754,
"invoice_image": "",
"apply": 0,
"col_address": "",
"col_name": "",
"col_mobile": "",
"uid": 1
},
"order_address": {
"address": "北京 北京市 朝阳区 双井富力城小区三期10-08号",
"mobile": "18249104358",
"realname": "3213",
"updated_at": "2025-09-09 15:09:15",
"created_at": "2025-09-09 15:09:15",
"province_id": 110000,
"city_id": 110100,
"district_id": 110105,
"note": null,
"street_id": 0,
"zipcode": "",
"longitude": "",
"latitude": "",
"delivery_day": null,
"delivery_time": null
},
"email": "",
"invoice_state": 0,
"address_info": {
"address": "北京 北京市 朝阳区 双井富力城小区三期10-08号",
"mobile": "18249104358",
"realname": "3213"
},
"extraCell": [],
"aggregation_cps_recharge_bill": {
"recharge_number": ""
},
"receipt_goods_notice": "",
"yz_supply_home_water_machin_order": {
"id": 1,
"order_id": 46,
"order_sn": "SN2509091509B0A3B2",
"member_id": 1,
"order_price": "1515.00",
"is_camp_on": 0,
"goods_type": 1,
"device_imei": null,
"status": 0,
"delivery_amount": "",
"is_shop_refund_address": 1,
"refund_error": null,
"refund_error_status": 0,
"created_at": "2025-09-09 15:09:15",
"updated_at": "2025-09-09 15:09:15",
"deleted_at": null
}
}
}
返回参数说明: 都和以前一样 yz_supply_home_water_machin_order.device_imei 是下单时传的设备imei
参数名 | 类型 | 说明 |
---|