多应用+插件架构,代码干净,二开方便,首家独创一键云编译技术,文档视频完善,免费商用码云13.8K 广告
+++ post:app/api.php?i=1&c=entry&do=dyorder-errander&op=detail&m=we7_wmall *token=IBB844RyBXqssxeQrTEbMY4BCr7r8Yb4#身份密钥 *id=1427#订单id <<< success { "message": { "resultCode": 0, "resultMessage": "调用成功", "data": { "id": "2", "uniacid": "1", "acid": "1", "uid": "1436", "openid": "fromUser", "code": "4429", "order_sn": "20160914662628", //订单号 "order_type": "buy", //订单类型 "order_cid": "5", "goods_name": "红塔山", //商品名称或物品信息 "goods_price": "20", //预期商品价格或商品价值 "goods_weight": "", //商品重量 "buy_username": "", //取货联系人姓名 "buy_sex": "", //取货联系人性别 "buy_mobile": "", //取货联系人手机号 "buy_address": "太原南站002", //取货地址 "buy_location_x": "37.791672", //取货地址经纬度 "buy_location_y": "112.610933", //取货地址经纬度 "accept_username": "男", //收货联系人姓名 "accept_sex": "先生", "accept_mobile": "13456235623", "accept_address": "山西省太原市杏花岭区柳溪街005", "accept_location_x": "37.890277080565745", "accept_location_y": "112.55086358999993", "distance": "12.18", "delivery_time": "立即送达", //配送时间 "pay_type": "credit", "is_pay": "1", "deliveryer_transfer_status": "0",//是否允许转单(转单按钮是否显示需要根据这个字段判断) "deliveryer_transfer_reason": array( "电动车坏了", "老婆生娃了", ),//转单理由 "deliveryer_cancel_status": "1", ,//是否允许取消订单(取消订单按钮是否显示需要根据这个字段判断) "deliveryer_cancel_reason": [ "我就是想取消订单", "商户关门", "客户不在家" ], //取消订单理由 "addtime": "1473838037", "paytime": "1473838191", "delivery_status": "1", "deliveryer_id": "0", "deliveryingtime_cn": "2016-08-02 19:14", //配送员抢单时间 "deliveryinstoretime_cn": "1970-01-01 08:00", //配送员取货时间 "deliveryedtime_cn": "2016-08-03 11:11", //配送员送达时间 "delivery_success_time_cn": { //送达时间 "day": "05-16", "time": "19:31" }, "delivery_instore_time_cn": { //取货时间 "day": "未知", 取货日期 取货日期不存在时返回 "未知", "time": "未知" 取货时间 取货时间不存在时返回 "未知", }, "delivery_assign_time_cn": {//接单时间 "day": "05-16", "time": "19:31" }, "status": "1", "print_nums": "0", "delivery_fee": "30.36", //配送费 "delivery_tips": "5", //红包 "total_fee": "35.36", //订单总金额 "discount_fee": "0", //订单优惠金额 "final_fee": "35.36", //最终支付金额 "deliveryer_fee": 35.36, //配送员配送完成后可得到的金额 "deliveryer_total_fee": 35.36, //配送员配送该单总收入(平台返现+客户红包) "note": "速度要快", //备注 "is_remind": "0", "is_anonymous": "1", "anonymous_username": "章子怡", "refund_status": "0", "refund_out_no": "", "refund_apply_time": "0", "refund_success_time": "0", "refund_channel": "", "refund_account": "", "order_type_cn": "随意购", //订单类型 "addtime_cn": "09-14 15:27", //下单时间 "buy_address_title": "买", //取货地址或者购买地址 "accept_address_title": "送", //收货地址 "store2user_distance": "12.18", //取货地址距离收货地址的距离 "store2deliveryer_distance": 3.08 //配送员距离取货地址的距离 "verification_code": 0, //是否需要验证收获码,0:不需要 1:需要 "delivery_collect_type": "0", "transfer_deliveryer_id": "0", "transfer_delivery_status": "0", //是否显示是否同意接受转单的按钮(1:显示,0:不显示) "transfer_delivery_reason": "电动车没电了!", //转单理由 "delivery_collect_type_cn": "自己抢单", //接单类型 "data": { "order": { //订单附加信息 "partData": [{ "title": "多项选择", //名称 "value": ["选项一", "选项二"], //选择项 "type": "multipleChoices" //多项选择 }, { "title": "文本信息11", "value": "aaa", "type": "text" //文本信息 }, { "title": "单项选择1", "value": "选项一", "type": "oneChoice" //单选 }], "extra_fee": [{ //选择附加费 "title": "标题2", //附加费名称 "value": [{ //附加费选择项 "name": "附加费3", //选项名称 "fee": "1" //选项金额 },{ "name": "附加费2", "fee": "" }] }] }, "fees": [{ //订单费用详情 "title": "基础配送费", "note": "里程计价", "fee": "8", "fee_cn": "¥8" }, { "title": "小费", "note": "", "fee": 1, "fee_cn": "¥1" }, { "title": "标题2-附加费3", "note": "附加费3", "fee": "1", "fee_cn": "¥1" }], "channel": "wxapp" //下单渠道(小程序旧版跑腿也标识为 wap而非 wxapp) }, } } } <<< error { "message": { "resultCode": -1, "resultMessage": "订单不存在或已删除", "data": { "resultCode" => '' } } } +++