首頁
產(chǎn)品
文檔
正版
授權(quán)查詢
3.5折優(yōu)惠
渠道合作
更多
關(guān)于我們
提交工單
聯(lián)系我們
AI編程
likeadmin
AI數(shù)字人
碼多多AI
演示中心
源碼下載
登錄/注冊
likeshop開發(fā)文檔
開發(fā)文檔
展開
??? 數(shù)據(jù)接口
必看說明
通用參數(shù)
請求示例
用戶
個(gè)人中心
添加收貨地址
獲取收貨地址
編輯收貨地址
設(shè)置用戶信息
綁定或修改手機(jī)號
余額明細(xì)
個(gè)人資料
通用配置接口
充值
充值規(guī)則
充值接口
門店
門店列表
門店商品列表
獲取廣告列表
商城風(fēng)格
門店公告
購物車
加入購物車
修改購物車數(shù)量
購物車列表
刪除購物車
訂單
下單接口
訂單詳情
取消訂單
訂單列表
再來一單
獲取支付方式
優(yōu)惠券相關(guān)接口
領(lǐng)券中心
我的優(yōu)惠券列表
領(lǐng)取優(yōu)惠券
下單獲取優(yōu)惠券
??? 二次開發(fā)
目錄結(jié)構(gòu)
目錄結(jié)構(gòu)
?? 數(shù)據(jù)庫字典
數(shù)據(jù)庫字典
訂單詳情
**簡要描述:** - 訂單詳情 **請求URL:** - `/order/getOrderDetail` **請求方式:** - GET **參數(shù):** |參數(shù)名 |必選 |類型 |說明 | |:--| |id |是 |int |訂單id | **返回示例** ``` { "code": 1, "show": 0, "msg": "獲取成功", "data": { "id": 1118, "shop_id": 2, "order_sn": "202109161724166970", "user_id": 11, "pay_way": 1, "pay_status": 0, "dining_type": 1, "order_status": 0, "order_type": 2, "refund_status": 0, "take_code": 4991, "pay_time": "", "is_appoint": 0, "appoint_time": "09-16 17:24:16", "order_amount": "66.00", "discount_amount": "0.00", "total_amount": "66.00", "total_num": 4, "consignee": "LikeShop-阿紫(免費(fèi)領(lǐng)源碼)", "mobile": "13609053257", "address_snap": { "id": 1, "user_id": 11, "contact": "LikeShop-阿紫(免費(fèi)領(lǐng)源碼)", "sex": 0, "telephone": "13609053257", "province_id": 440000, "city_id": 440100, "district_id": 440105, "address": "新港中路397號", "post_code": null, "longitude": "113.319876", "latitude": "23.096012", "is_default": 1, "create_time": "2021-06-23 16:36:24", "update_time": null, "del": 0, "address_detail": "廣東省廣州市海珠區(qū)新港中路397號" }, "delivery_amount": null, "delivery_time": 0, "user_remark": "", "confirm_take_time": null, "cancel_time": null, "order_remarks": "", "create_time": "2021-09-16 17:24:16", "order_goods": [ { "id": 1154, "shop_id": 2, "order_id": 1118, "goods_id": 3, "goods_name": "芝士莓莓", "item_id": 234, "spec_value_str": "大杯", "goods_num": 2, "goods_price": "15.00", "goods_snap": { "id": 3, "name": "芝士莓莓", "image": "http://www.dcwm.localhost/uploads/images/202109031026325d0cf3227.jpeg", "status": 1, "shop_status": 1, "item_id": 234, "item_image": "", "spec_value_str": "大杯", "goods_price": "15.00", "goods_num": 2, "total_price": 30, "material_name": [ "椰果", "紅豆" ], "material_list": [ { "id": 2, "name": "椰果", "price": "0.00" }, { "id": 4, "name": "紅豆", "price": "0.00" } ] } }, { "id": 1155, "shop_id": 2, "order_id": 1118, "goods_id": 5, "goods_name": "爆香芒果", "item_id": 236, "spec_value_str": "大杯", "goods_num": 2, "goods_price": "18.00", "goods_snap": { "id": 5, "name": "爆香芒果", "image": "http://www.dcwm.localhost/uploads/images/20210903102717b60cf6697.jpeg", "status": 1, "shop_status": 1, "item_id": 236, "item_image": "", "spec_value_str": "大杯", "goods_price": "18.00", "goods_num": 2, "total_price": 36, "material_name": [ "椰果" ], "material_list": [ { "id": 2, "name": "椰果", "price": "0.00" } ] } } ], "shop": { "id": 2, "name": "優(yōu)樂美", "phone": "13172565123", "province_id": 440000, "city_id": 440100, "district_id": 440105, "address": "藝影街11號麗影廣場C區(qū)會展時(shí)代寫字樓", "province_name": "廣東省", "city_name": "廣州市", "district_name": "海珠區(qū)", "address_detail": "廣東省廣州市海珠區(qū)藝影街11號麗影廣場C區(qū)會展時(shí)代寫字樓" }, "order_type_text": "外賣", "order_status_text": "待支付", "pay_btn": 1, "cancel_btn": 0, "again_btn": 0, "delivery_address": "未知" } } ``` **返回參數(shù)說明:** |參數(shù)名 |類型 |說明 | |:--| |id|int|訂單id| |order_sn|string|訂單編號| |appoint_time|string|預(yù)約時(shí)間| |order_amount|float|訂單實(shí)付金額| |total_amount|float|訂單總金額| |total_num|int|訂單總商品數(shù)| |take_code|int|取餐碼| |consignee|string|聯(lián)系人| |mobile|string|聯(lián)系電話| |delivery_address|string|收貨地址| |pay_btn |string |支付按鈕:1-顯示;0-隱藏; | |cancel_btn |string |取消按鈕:1-顯示;0-隱藏; | |again_btn |string |再來一單按鈕:1-顯示;0-隱藏; | |order_sn|string|訂單編號| |--address_snap|array|地址快照| |----contact|string|收貨人| |----telephone|string|聯(lián)系電話| |----address_detail|string|詳情地址| |shop|array|門店信息 |--id|int|門店id |--name|string|門店信息 |--phone|string|聯(lián)系電話 |--address_detail|string|門店詳情地址 |goods|array|商品 |--id|int|商品id |--goods_name|string|商品名稱 |--spec_value_str|string|規(guī)格名稱 |--image|string|商品圖片 |--item_id|int|規(guī)格id |--item_image|string|規(guī)格圖片 |--spec_value_str|string|規(guī)格名稱 |--goods_price|float|商品單價(jià) |--goods_num|int|商品數(shù)量 |--total_price|float|商品總價(jià) |--material_name|array|物料名稱 |--goods_num|int|商品總數(shù)量