Skip to content
关注公众号,获取新课通知

订单列表


接口URL

http://ceshi13.dishait.cn/admin/order/:page?tab=all

请求方式

GET

Content-Type

application/x-www-form-urlencoded

请求Header参数

参数名示例值参数类型是否必填参数描述
token2f...5eString用户token

请求Query参数

参数名示例值参数类型是否必填参数描述
taballString订单类型:all全部,nopay待支付,noship待发货,shiped待收货,received已收货,finish已完成,closed已关闭,refunding退款中
no订单号String订单号
starttime开始时间String开始时间,yyyy-mm-dd
endtime结束时间String结束时间,yyyy-mm-dd
name收货人String收货人
phone收货人手机号String收货人手机号

路径变量

参数名示例值参数描述
page1分页页码

成功响应示例

json5
{
	"msg": "ok",
	"data": {
		"list": [
			
			{
				"id": 608,
				"no": "202...92",
				"user_id": 4,
				"address": {
					"id": 156,
					"user_id": 4,
					"province": "北京市",
					"city": "市辖区",
					"district": "西城区",
					"address": "...",
					"zip": 2123000,
					"name": "aaa",
					"phone": "13100010001",
					"last_used_time": 1639064591,
					"create_time": "2021-10-19 10:16:49",
					"update_time": "2021-12-09 23:43:11"
				},
				"total_price": "0.10",
				"remark": "",
				"paid_time": 1639064591,
				"payment_method": "alipay",
				"payment_no": "2019122622001446221403706833",
				"refund_status": "pending",
				"refund_no": null,
				"closed": 0,
				"ship_status": "pending",
				"ship_data": null,
				"extra": null,
				"create_time": "2021-12-09 23:43:11",
				"update_time": "2021-12-09 23:43:11",
				"reviewed": 0,
				"coupon_user_id": 0,
				"order_items": [
					{
						"id": 750,
						"order_id": 608,
						"shop_id": 71,
						"goods_id": 25,
						"num": 1,
						"price": "0.10",
						"skus_type": 1,
						"goods_item": {
							"id": 25,
							"title": "小米...枕套",
							"cover": "http://...png",
							"sku_type": 1
						},
						"goods_skus": {
							"id": 71,
							"skus": {
								"0": {
									"id": 70,
									"goods_skus_card_id": 36,
									"name": "套餐",
									"value": "标准套餐",
									"order": 50,
									"text": "标准套餐",
									"color": "#FFFFFF",
									"image": "/favicon.ico"
								},
								// ...
							}
						}
					}
				],
				"user": {
					"id": 4,
					"nickname": "...",
					"username": "user2",
					"avatar": "http://...png",
				}
			},
			// ...
		],
		"totalCount": 555
	}
}