多应用+插件架构,代码干净,二开方便,首家独创一键云编译技术,文档视频完善,免费商用码云13.8K 广告
type:1=>拼团中,2=>拼团成功(配送中),3=>拼团失败,4=>拼团完成(个人确认收货),5=>退货 send_state:1=>待发货,2=>配送中,3=>已收货 send2_state:-1二级待发货,0二级商家发货,1二级镖师接单,2镖师完成取货,3镖师完成送货,39一级待发货,40一级商家发货,41一级镖师接单,42一级镖师完成取货 1.用户订单支付详情 ~~~[api] get:https://admin.nineopen.com/order/order_pay unionid#用户本人unionid group_id#拼团id <<< success { "status": 0, "message": "ok", "data": { "address": { "home_address": "河南省漯河市郾城区郾祁山路509号 锦江花园", "nickname": "ms", "unionid": "oGwVH0lqS5-u2ts2Z2s1zCUjQWeM" }, "group": { "buy": [ { "unionid": "oGwVH0uR0CVhfqytTw517AoxF--c", "order_id": "I730755250655602", "headimgurl": "http://thirdwx.qlogo.cn/mmopen/vi_32/Q0j4TwGTfTLsR19wO33Dboq32uCxwABINRoyJcGvLuM2RSnaEDU5URBblfdQ77icv4yp9eZgdUwjhpyWV6zYukQ/132", "goods_buy_num": 1 } ], "group_residue_count": 1, "colonel": { "unionid": "oGwVH0uR0CVhfqytTw517AoxF--c", "head_url": "http://thirdwx.qlogo.cn/mmopen/vi_32/Q0j4TwGTfTLsR19wO33Dboq32uCxwABINRoyJcGvLuM2RSnaEDU5URBblfdQ77icv4yp9eZgdUwjhpyWV6zYukQ/132" } }, "goods": { "goods_cover": [ "https://store.nineopen.com/upload/20190726/2b74fa1a226467c4bde2d89da9611db0.jpg" ], "goods_id": 3, "goods_name": "[勿拍]商品测试不发货-该产品只用于测试", "goods_group_price": "0.01", "is_send": 2, "genre": 2, "goods_group_num": 2, "goods_stock": 84, "sign": "掌柜测试" } } } <<< error ~~~ 2.用户订单详情 ~~~[api] get:https://admin.nineopen.com/order/order_user_show order_id#订单id unionid#用户本人unionid type#1=>拼团中,2=>拼团成功(配送中),3=>拼团失败,4=>拼团完成(个人确认收货),5=>退货 <<< success { "status": 0, "message": "ok", "data": { "order_id": "I412551761658327", "group_id": 13, "goods_id": 27, "goods_name": "汉尚华莲鱼幼微原创传统汉服女装唐制刺绣高腰齐胸襦裙日常春夏装", "goods_cover": "https://g-search3.alicdn.com/img/bao/uploaded/i4/i4/3358098495/O1CN0148A98f2Ccl4p4veY9_!!0-item_pic.jpg", "goods_group_price": "0.01", "genre": 1, "send_id": null, "send_state": 1, "shop_id": 1, "sign": null, "unionid": "oGwVH0uR0CVhfqytTw517AoxF--c", "home_name": "王慧文18790901856", "home_phone": "18790901856", "home_address": "河南省漯河市郾城区嵩山东支路7号 建业壹号中心607", "latitude": 33.6001205, "longitude": 114.0135269, "goods_buy_num": 1, "payment_no": null, "transaction_id": "4200000265201904129264572573", "create_time": "2019-04-12 16:20:28", "send": null, "transaction": { "create_time": "2019-04-12 16:20:28" }, 'type':1 } } <<< error ~~~ 2.1用户退款订单详情 ~~~[api] get:https://admin.nineopen.com/order/order_user_refund_show order_id#订单id unionid#用户本人unionid <<< success <<< error ~~~ 3.用户订单列表 ~~~[api] get:https://admin.nineopen.com/order/order_user_list unionid#用户unionid type#1=>拼团中,2=>拼团成功(配送中),3=>拼团失败,4=>拼团完成(个人确认收货),5=>退货 page#页码 <<< success <<< error ~~~ 4.用户退货 ~~~[api] post:https://admin.nineopen.com/order/order_refund order_id# unionid#用户本人unionid <<< success <<< error ~~~ 5.用户确认退货成功 ~~~[api] put:https://admin.nineopen.com/order/order_refund_sure order_id# shop_id# unionid# <<< success <<< error ~~~ 6.掌柜拒绝退货 ~~~[api] put:https://admin.nineopen.com/order/order_refund_no order_id# shop_id# <<< success <<< error ~~~ 7.用户到店消费 ----商城 ~~~[api] post:https://admin.nineopen.com/order/order_send order_id#订单id unionid#消费者unionid <<< success success <<< error error ~~~ 4.商家订单列表 ~~~[api] get:https://admin.nineopen.com/order/order_shop_list type# 1=>待发货,2=>配送中,3=>已完成,4=>退货 shop_id#掌柜id page#页码 <<< success <<< error ~~~ 5.商家订单详情 ~~~[api] get:https://admin.nineopen.com/order/order_shop_show order_id# shop_id#掌柜id <<< success <<< error ~~~ 5.1商家退款订单详情 ~~~[api] get:https://admin.nineopen.com/order/order_shop_refund_show order_id#订单id shop_id#掌柜id <<< success <<< error ~~~ 6.用户查看物流订单详情 ~~~[api] get:https://admin.nineopen.com/send/send_show send_id#物流订单id <<< success { "status": 0, "message": "ok", "data": { "map": { "home_address": { "latitude": 33.600120500000003, "longitude": 114.0135269 }, "goods_address": { "latitude": 33.600120500000003, "longitude": 114.0135269 } }, "send_history": [ { "time": "2019-04-17 00:00:00", "status": "订单已创建,商家正在准备货物" } ], "send": { "send_id": "1", "sign": null, "phone": null, "goods_cover": "https://g-search3.alicdn.com/img/bao/uploaded/i4/i4/3358098495/O1CN0148A98f2Ccl4p4veY9_!!0-item_pic.jpg", "send_status": 0 } } } <<< error ~~~