多应用+插件架构,代码干净,二开方便,首家独创一键云编译技术,文档视频完善,免费商用码云13.8K 广告
send2_state:-1=>(二级)待发货,0=>(二级)商家发货,1=>二级镖师接单,2=>镖师完成取货,3=>镖师完成送货 send1_state:-1=>(一级)待发货,0=>(一级)商家发货,1=>一级镖师接单,2=>一级镖师完成取货,3=>一级镖师确认发货,4=>二级镖师完成取货 type(二级镖师):1=>3公里内,2=>3公里外 1.二级物流订单创建 注释:掌柜创建时为掌柜信息,一级镖师发货时为一级镖师信息 ~~~[api] post:https://admin.nineopen.com/send/send2_create order_id#商品订单id sign#掌柜/一级镖师--别名 level#掌柜/一级镖师--等级 head_url#掌柜/一级镖师--头像 phone#掌柜/一级镖师--联系电话 address#掌柜/一级镖师--联系地址 latitude#纬度(掌柜/一级镖师) longitude#经度(掌柜/一级镖师) <<< success { "status": 0, "message": "success", "data": [] } <<< error ~~~ 2.一级物流订单创建 ~~~[api] post:https://admin.nineopen.com/send/send1_create order_id#商品订单id sign#掌柜别名 level#掌柜等级 head_url#掌柜头像 phone#掌柜家联系电话 address#掌柜联系地址 latitude#纬度(掌柜) longitude#经度(掌柜) <<< success <<< error ~~~ 3.二级物流 订单修改 ~~~[api] put:https://admin.nineopen.com/send/send2_update type#1=>二级镖师接单,2=>二级镖师向商家扫码取货成功,3二级镖师向用户送货成功4二级镖师向一级镖师扫码取货成功 send2_id#二级物流订单号 value#(express2_id值,shop_id值,code值,express1_id)与type对应的值 order_id#商品订单id <<< success <<< error ~~~ 4.一级物流订单修改 ~~~[api] put:https://admin.nineopen.com/send/send1_update type#1=>一级镖师接单,2=>一级镖师扫码取货成功,3=>一级镖师发货 send1_id#一级物流订单号 value#(express1_id值,shop_id值,null)是具体的值 order_id#商品id <<< success <<< error ~~~ 5.二级物流订单列表 ~~~[api] get:https://admin.nineopen.com/send/send2_list page#页码 latitude#纬度 longitude#经度 unionid# <<< success { "status": 0, "message": "ok", "data": [ { "home_latitude": 33.586761500000001, "home_longitude": 114.00808720000001, "home_address": "河南省漯河市郾城区海河路260号 郾城区人民医院", "goods_cover": "https://store.nineopen.com/upload/20190614/dcd7a195aa775faa1fbd9db27646ed60.jpg", "goods_name": "亚得力手动组合家用工具套装五金组套电工木工维修工具箱电钻组合", "goods_group_price": "0.06", "goods_buy_num": 1, "address": "河南省漯河市郾城区太行山北路,1010", "create_time": "2019-06-17 14:45:03", "send2_id": "S2_2019061785122", "send2_money": "0.00", "order_id": "I617538973822742", "latitude": 33.6026764, "longitude": 114.0068359, "type": 0, "user_distance": 1.7669030573673341, "shop_distance": 0.032142990240541534, "distance_sum": 1.7990460476078756 }, { "home_latitude": 33.586761500000001, "home_longitude": 114.00808720000001, "home_address": "河南省漯河市郾城区海河路260号 郾城区人民医院", "goods_cover": "https://store.nineopen.com/upload/20190614/33bb8bae6cafd7e9aa030333eaee4191.jpg", "goods_name": "口才三绝为人三会修心三不训练技巧销售情商心理学表达图书籍畅销", "goods_group_price": "0.01", "goods_buy_num": 1, "address": "河南省漯河市郾城区太行山北路,1010", "create_time": "2019-06-17 14:50:17", "send2_id": "S2_2019061787060", "send2_money": "0.00", "order_id": "I617541992979845", "latitude": 33.6026764, "longitude": 114.0068359, "type": 0, "user_distance": 1.7669030573673341, "shop_distance": 0.032142990240541534, "distance_sum": 1.7990460476078756 }, <<< error ~~~ 6.一级物流订单列表 ~~~[api] get:https://admin.nineopen.com/send/send1_list page#页码 latitude#纬度 longitude#经度 unionid# <<< success <<< error ~~~ 7.二级物流订单展示 ~~~[api] get:https://admin.nineopen.com/send/send2_order_show send2_id#二级物流订单号 latitude#纬度 longitude#经度 <<< success <<< error ~~~ 8.一级物流订单展示 ~~~[api] get:https://admin.nineopen.com/send/send1_order_show send1_id#一级物流订单号 latitude#纬度 longitude#经度 <<< success <<< error ~~~ 9.镖师扫码确认信息(弃用) ~~~[api] get:https://admin.nineopen.com/send/send_qrcode_sure send2_id#二级物流订单号 <<< success <<< error ~~~ 10.二级镖师接单后的列表 ~~~[api] get:https://admin.nineopen.com/send/express2_list express2_id#二级镖师id type#1=>-1二级待发货,0二级商家发货,1二级镖师接单,2镖师完成取货,3镖师完成送货 page#页码 latitude#纬度 longitude#经度 <<< success <<< error ~~~ 11.一级镖师接单后的列表 ~~~[api] get:https://admin.nineopen.com/send/express1_list express1_id#二级镖师id type#1=>-1待发货,0商家发货,1一级镖师接单,2一级镖师完成取货,3一级镖师确认发货 page#页码 latitude#纬度 longitude#经度 <<< success <<< error ~~~