[TOC]
简要描述
请求URL
https://food.taihuyun.vip/api/foodcash.base/friendCompanyOrders?applet_id=1&shop_id=1&token=9ee02f4eca649e8c2ee711ebe8f2957a&id=1&page=2
请求方式
参数
参数名 |
必选 |
类型 |
说明 |
applet_id |
是 |
string |
应用程序ID |
shop_id |
是 |
string |
门店ID |
token |
是 |
string |
用户身份验证的令牌 |
id |
是 |
int |
单位的ID |
page |
是 |
int |
页码 |
返回示例
{
"code": 1,
"msg": "success",
"data": {
"total": 2,
"per_page": 15,
"current_page": 1,
"last_page": 1,
"data": [
{
"order_id": 66,
"order_no": "2023011449535410",
"source": {
"text": "前台收银端",
"value": 20
},
"order_mode": {
"text": "堂食",
"value": 10
},
"row_no": "",
"table_id": 18,
"people": 5,
"arrive_time": {
"text": "2023-01-14 11:34:41",
"value": 0
},
"flavor": "",
"message": "",
"server_message": "",
"total_price": "99.00",
"activity_price": "0.00",
"express_price": "0.00",
"pack_price": "0.00",
"ware_price": "0.00",
"divide_price": "0.00",
"pay_price": "99.00",
"pay_status": {
"text": "后付款",
"value": 30
},
"pay_mode": 50,
"transaction_id": "",
"pay_time": 1673667281,
"shop_status": {
"text": "已接单",
"value": 20
},
"shop_time": 1673667281,
"delivery_status": {
"text": "上餐完毕",
"value": 30
},
"delivery_time": 1673667334,
"receipt_status": {
"text": "已完成",
"value": 20
},
"receipt_time": 1673667334,
"order_status": {
"text": "已完成",
"value": 30
},
"refund_price": "0.00",
"refund_status": {
"text": "待退款",
"value": 10
},
"refund_time": 0,
"refund_desc": "",
"refund_id": "",
"is_cmt": {
"text": "待评价",
"value": 0
},
"is_order": 1,
"user_id": 19,
"shop_id": 1,
"applet_id": 1,
"book_date": "",
"book_time": {
"text": "",
"begin_end": "",
"value": 0
},
"book_place": {
"text": "",
"value": 0
},
"butie": 0,
"ticket_user_id": 0,
"pact_id": 54,
"order_type": 2,
"guadan_type": 1,
"guadan_id": "1",
"guadan_remark": "测试",
"guadan_order_id": "",
"order_team_id": 0,
"meal_id": 1,
"clerk_id": 3,
"create_time": "2023-01-14 11:34:41",
"update_time": "2023-01-14 11:35:34",
"user": {
"user_id": 19,
"user_type": 3,
"nickname": "金*3",
"gender": "未知",
"country": "",
"province": "",
"city": "",
"phone": "18742045357",
"pay": "0.00",
"score": 0,
"converted": 0,
"v": 0,
"birthday": "",
"identity": {
"text": "游客",
"value": 0,
"company_text": "无",
"company_value": 0
},
"details": {},
"usable": 0
}
}
]
}
}
返回参数说明
参数名 |
类型 |
说明 |
data.order_no |
string |
订单号 |
data.order_mode.value |
int |
订单类型;10.堂食;20.包厢;30.自取 |
data.pay_price |
string |
支付金额 |
data.butie |
string |
补贴 |
data.ticket_money |
string |
抵扣金额 |
data.ticket_type |
string |
是否使用卡券 |
data.recent_pay |
string |
消费金额 |
data.create_type |
string |
下单类型 |
data.create_time |
string |
下单时间 |
total |
int |
总页数 |
per_page |
int |
一页有几条 |
current_page |
int |
当前页码 |
备注