简要描述:

  • 订单列表

请求域名:

  • http://.yunzshop.com

请求URL:

GET: route=plugin.store-alone-temp.frontend.order.index (全部) GET: route=plugin.store-alone-temp.frontend.order.wait-pay (待支付) GET: route=plugin.store-alone-temp.frontend.order.wait-send (待发货) GET: route=plugin.store-alone-temp.frontend.order.wait-receive (待收货) GET: route=plugin.store-alone-temp.frontend.order.completed (已完成)

参数:

参数名 是否必须 类型 说明

返回示例:

正确时返回:

{
	"result": 1,
	"msg": "ok",
	"data": {
		"current_page": 1,
		"data": [
			{
				"id": 17,
				"order_sn": "SN20190416155646B1",
				"price": "10.00",
				"goods_price": "100.00",
				"goods_total": 2,
				"status": 3,
				"create_time": "2019-04-16 15:56:46",
				"finish_time": "2019-04-16 15:57:21",
				"pay_time": "2019-04-16 15:56:50",
				"send_time": "2019-04-16 15:57:10",
				"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": 3,
				"order_goods_price": "10.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": "17",
				"is_virtual": 0,
				"plugin_id": 0,
				"mark": "",
				"is_pending": 0,
				"note": null,
				"cost_amount": "100.00",
				"shop_name": "芸信商城",
				"no_refund": 0,
				"need_address": 0,
				"invoice_type": 0,
				"rise_type": 1,
				"collect_name": "",
				"company_number": "",
				"invoice": null,
				"auto_receipt": 0,
				"fee_amount": "0.00",
				"service_fee_amount": "0.00",
				"is_all_send_goods": 0,
				"dispatch_type_name": "快递",
				"status_name": "交易完成",
				"pay_type_name": "余额23",
				"button_models": [
					{
						"name": "物流信息",
						"value": 8,
						"api": "dispatch.express",
						"type": ""
					},
					{
						"name": "删除订单",
						"value": 12,
						"api": "order.operation.delete",
						"type": ""
					}
				],
				"process": [],
				"has_one_pay_type": {
					"id": 3,
					"name": "余额",
					"plugin_id": 0,
					"code": "balance",
					"type": 1,
					"unit": "元",
					"updated_at": "2019-05-30 11:20:41",
					"created_at": null,
					"deleted_at": null,
					"setting_key": "shop.pay.credit",
					"need_password": 1,
					"group_id": 3
				},
				"has_many_order_goods": [
					{
						"goods_id": 2,
						"goods_price": "100.00",
						"total": 2,
						"price": "10.00",
						"thumb": "https://dev8.yunzshop.com/static/upload/images/1/2019/04/tWMW4dK4vlxk2Zb29mGC922m82bwg2.jpg",
						"title": "测试",
						"goods_option_id": 0,
						"goods_option_title": "",
						"comment_status": 1,
						"buttons": [
							{
								"name": "查看评价",
								"api": "",
								"value": ""
							}
						]
					}
				],
				"address": {
					"address": "北京 北京市 东城区 朝阳门街道 !!!",
					"mobile": "16620167538",
					"realname": "13113"
				},
				"order_invoice": null
			}
		],
		"first_page_url": "http://yzmall.com/addons/yun_shop/api.php?page=1",
		"from": 1,
		"last_page": 1,
		"last_page_url": "http://yzmall.com/addons/yun_shop/api.php?page=1",
		"next_page_url": null,
		"path": "http://yzmall.com/addons/yun_shop/api.php",
		"per_page": 20,
		"prev_page_url": null,
		"to": 1,
		"total": 1,
		"menu_group": []
	}
}

错误时返回:


返回参数说明:跟之前的商城订单列表接口一致

备注:

  • 更多返回错误代码请看首页的错误代码描述