多应用+插件架构,代码干净,二开方便,首家独创一键云编译技术,文档视频完善,免费商用码云13.8K 广告
+++ post:app/index.php?i=1&c=entry&ctrl=plateform&ac=order&op=errander&ta=analyse&do=api&m=we7_wmall *token=IBB844RyBXqssxeQrTEbMY4BCr7r8Yb4#身份密钥 *id=#订单id (此接口注意看返回信息中的deliveryers字段) <<< success { "message": { "resultCode": 0, "resultMessage": "", "data": { "id": "121", "uniacid": "1", "acid": "1", "agentid": "0", "uid": "10166", "openid": "ol-ZvxDeO2hzsPdy7L9LlTlKve30", "code": "4965", "order_sn": "20180605175711863442", "order_channel": "wap", "order_type": "buy", "order_cid": "2", "goods_name": "中南海", "goods_price": "未填写,请联系顾客沟通", "goods_weight": "", "buy_username": "", "buy_sex": "", "buy_mobile": "", "buy_address": "太原市小店区政务服务中心11", "buy_location_x": "37.75025", "buy_location_y": "112.577194", "accept_username": "11", "accept_sex": "先生", "accept_mobile": "17778174951", "accept_address": "太原市小店区政府11", "accept_location_x": "37.73605", //收货地址所在维度 "accept_location_y": "112.56566", //收货地址所在经度 "distance": "2.593", "delivery_time": "2018-06-05 17:30~18:00", "pay_type": "credit", "is_pay": "1", "addtime": "1528192631", "paytime": "1528193242", "delivery_status": "4", "deliveryer_id": "22", "delivery_handle_type": "wechat", "delivery_assign_time": "1528193534", "delivery_instore_time": "1528193632", "delivery_success_time": "1528193636", "delivery_success_location_x": "", "delivery_success_location_y": "", "status": "3", "print_nums": "0", "delivery_fee": "10", "delivery_tips": "0", "total_fee": "10", "discount_fee": "0", "final_fee": "10.00", "deliveryer_fee": "2", "deliveryer_total_fee": "2", "agent_discount_fee": "0", "agent_serve_fee": "0.00", "agent_serve": "", "agent_final_fee": "0.00", "plateform_serve_fee": "10", "plateform_serve": { "fee": null, "note": "订单配送费 ¥10 + 订单小费 ¥0" }, "thumbs": [], "note": "11", "data": "", "is_remind": "0", "is_anonymous": "0", "anonymous_username": "11", "out_trade_no": "2018060517571146241118127623", "transaction_id": "", "refund_status": "0", "refund_out_no": "", "refund_apply_time": "0", "refund_success_time": "0", "refund_channel": "", "refund_account": "", "stat_year": "2018", "stat_month": "201806", "stat_day": "20180605", "delivery_collect_type": "0", "transfer_deliveryer_id": "0", "transfer_delivery_status": "0", "order_type_cn": "随意购", "status_cn": "已完成", "delivery_status_cn": "已完成", "pay_type_cn": "余额支付", "category": { "id": "2", "name": "文具用品店铺" }, "deliveryers": [{ //可调度配送员信息 "id": "16", "uniacid": "1", "agentid": "0", "title": "杨", //配送员姓名 "nickname": "灯火阑珊的", "groupid": "5", "openid": "o3nuitws-cow0IwCBnALUQChYEZc", "openid_wxapp": "", "avatar": "http:\/\/wx.qlogo.cn\/mmopen\/6Fz3aS6k35YD7gaLqD42qJ5xND4VAqGXUFu9oL80IselYY9oRJ1EvVWfNQlHhgJAyylZ2uWqIWPRjXvTtibPIp4vNGfE4mqoC\/0", "mobile": "13453222285", //配送员手机号 "password": "6e11b03eb3ecd07577c4af6ec151398e", "salt": "kiObNY", "token": "r0eaAqiWcA2EKHbBdHOwkzh1wb1D5BIQ", "sex": "男", "age": "20", "addtime": "1463989773", "credit1": "0.00", "credit2": "957.74", "work_status": "1", "is_takeout": "1", "is_errander": "1", "auth_info": "", "location_x": "37.791069", //配送员当前纬度 "location_y": "112.609959", //配送员当前经度 "order_takeout_num": "4",//配送员当前手中外卖单数量 "order_errander_num": "8",//配送员当前手中跑腿单数量 "collect_max_takeout": "0", "collect_max_errander": "0", "perm_transfer": "a:4:{s:14:\"status_takeout\";i:1;s:11:\"max_takeout\";i:0;s:15:\"status_errander\";i:1;s:12:\"max_errander\";i:0;}", "perm_cancel": "a:2:{s:14:\"status_takeout\";i:1;s:15:\"status_errander\";i:1;}", "fee_delivery": "a:2:{s:7:\"takeout\";a:2:{s:19:\"deliveryer_fee_type\";i:1;s:14:\"deliveryer_fee\";d:1;}s:8:\"errander\";a:2:{s:19:\"deliveryer_fee_type\";i:1;s:14:\"deliveryer_fee\";d:1;}}", "fee_getcash": "a:5:{s:18:\"get_cash_fee_limit\";d:1;s:17:\"get_cash_fee_rate\";d:1;s:16:\"get_cash_fee_min\";d:1;s:16:\"get_cash_fee_max\";d:1;s:15:\"get_cash_period\";i:1;}", "extra": { "accept_wechat_notice": 1, "accept_voice_notice": 1 }, "registration_id": null, "order_id": 121, "store2deliveryer_distance": "5.38km", //配送员距离购买地址距离 "store2user_distance": "2.593km",//收货距离取货地址距离 "user2deliveryer_distance": "7.26km" //配送员距离收货地址距离 }] } }, "redirect": "", "type": "ajax" } <<< error { "message": { "resultCode": -1, "resultMessage": "",//操作失败提示语 "data": { "resultCode" => '' } } } +++