简要描述:
版本号 |
制定人 |
制定日期 |
修订日期 |
1.0.0 |
kevin |
2020-09-24 |
|
请求URL:
请求方式:
请求头:
参数名 |
是否必须 |
类型 |
说明 |
token |
是 |
string |
token参数 |
请求参数:
参数名 |
是否必须 |
类型 |
说明 |
order_id |
是 |
string |
下单订单id |
返回示例:
正确时返回:
{
"status": 200,
"msg": "成功",
"data": {
"shop": {
"shop_id": 7,
"shop_name": "首尔炸鸡",
"shop_logo": "http://chicken.com/uploads/shop_logo/2020-08-18/5f3bc78362cab.png",
"phone": "18617004852",
"shop_type": 2,
"shop_type_name": "美食店",
"shop_status_name": "暂停营业"
},
"order_goods": [
{
"id": 26,
"order_id": 21,
"goods_id": 7,
"goods_name": "香辣鸡翅",
"goods_img": "http://chicken.com/uploads/goods/2020-04-15/5e96e85c35f1c.jpg",
"goods_num": 1,
"goods_price": "20.00",
"goods_packing": "0.00",
"created_at": "2020-09-23 10:11:53",
"updated_at": "2020-09-23 10:11:53"
}
],
"actual_money": "20.00"
}
}
错误时返回:
{
"status": 0,
"msg": "token过期",
"data": []
}
data返回参数说明:
参数名 |
类型 |
说明 |
shop_id.shop_id |
string |
店铺id |
shop_id.shop_name |
string |
店铺名称 |
shop_id.shop_logo |
string |
店铺logo |
shop_id.phone |
string |
店铺电话 |
shop_id.shop_type |
string |
店铺类型 |
shop_id.shop_type_name |
string |
店铺类型名称 |
order_goods.id |
string |
记录id |
order_goods.order_id |
string |
订单id |
order_goods.goods_id |
string |
商品id |
order_goods.goods_name |
string |
商品名称 |
order_goods.goods_img |
string |
商品图片 |
order_goods.goods_num |
string |
商品数量 |
order_goods.goods_price |
string |
商品价格 |
order_goods.goods_packing |
string |
商品包装费 |
备注:
文档更新时间: 2020-09-24 18:51 作者:admin