shop_order_id:"1234567890"
appid:wx1362f02ae8df9e5f
发送的数据
$url:"tuihuanhuo",
shop_order_id: "1234567890",//商家内部系统使用的退货编号
biz_addr: { //商家退货地址,必填
"name": "张三",
"mobile": "13600000000",//仅支持输入一个联系方式
"country": "中国",
"province": "广东省",
"city": "广州市",
"area": "海珠区",
"address": "xx路 xx 号"
},
user_addr: { //用户购物时的收货地址,选填
"name": "李四",
"mobile": "13600000000",
"country": "中国",
"province": "广东省",
"city": "广州市",
"area": "海珠区",
"address": "xx路 xx 号"
},
order_path:"xxx",//退货订单在商家小程序的path
goods_list:[
{
"name":"xxx",//退货商品的名称
"url":"xxx"//退货商品图片的url
}
],
order_price:1//退货订单的价格
}
success:function (res){
console.log( res )
that.setData({
returnId:res.result.return_id
})
return_id 为空
这返回的:
type: "tap", timeStamp: 460976, target: {…}, currentTarget: {…}, mark: {…}, …}changedTouches: Array(1)0: {identifier: 0, pageX: 69.66667175292969, pageY: 475.41668701171875, clientX: 69.66667175292969, clientY: 475.41668701171875, …}concat: (...)constructor: (...)copyWithin: (...)entries: (...)every: (...)fill: (...)filter: (...)find: (...)findIndex: (...)flat: (...)flatMap: (...)forEach: (...)hasOwnProperty: (...)includes: (...)indexOf: (...)isPrototypeOf: (...)join: (...)keys: (...)lastIndexOf: (...)length: 1map: (...)nv_length: (...)pop: (...)propertyIsEnumerable: (...)push: (...)reduce: (...)reduceRight: (...)reverse: (...)shift: (...)slice: (...)some: (...)sort: (...)splice: (...)toLocaleString: (...)toString: (...)unshift: (...)valueOf: (...)values: (...)Symbol(Symbol.iterator): (...)Symbol(Symbol.unscopables): (...)__defineGetter__: (...)__defineSetter__: (...)__lookupGetter__: (...)__lookupSetter__: (...)__proto__: Array(0)currentTarget: dataset: {type: 2}id: ""offsetLeft: 20offsetTop: 111constructor: (...)hasOwnProperty: (...)isPrototypeOf: (...)propertyIsEnumerable: (...)toLocaleString: (...)toString: (...)valueOf: (...)__defineGetter__: (...)__defineSetter__: (...)__lookupGetter__: (...)__lookupSetter__: (...)__proto__: Objectdetail: x: 69.66667175292969y: 475.41668701171875constructor: (...)hasOwnProperty: (...)isPrototypeOf: (...)propertyIsEnumerable: (...)toLocaleString: (...)toString: (...)valueOf: (...)__defineGetter__: (...)__defineSetter__: (...)__lookupGetter__: (...)__lookupSetter__: (...)__proto__: Objectmark: {}mut: falsetarget: {id: "", offsetLeft: 0, offsetTop: 6, dataset: {…}}timeStamp: 460976touches: Array(1)0: {identifier: 0, pageX: 69.66667175292969, pageY: 475.41668701171875, clientX: 69.66667175292969, clientY: 475.41668701171875, …}concat: (...)constructor: (...)copyWithin: (...)entries: (...)every: (...)fill: (...)filter: (...)find: (...)findIndex: (...)flat: (...)flatMap: (...)forEach: (...)hasOwnProperty: (...)includes: (...)indexOf: (...)isPrototypeOf: (...)join: (...)keys: (...)lastIndexOf: (...)length: 1map: (...)nv_length: (...)pop: (...)propertyIsEnumerable: (...)push: (...)reduce: (...)reduceRight: (...)reverse: (...)shift: (...)slice: (...)some: (...)sort: (...)splice: (...)toLocaleString: (...)toString: (...)unshift: (...)valueOf: (...)values: (...)Symbol(Symbol.iterator): (...)Symbol(Symbol.unscopables): (...)__defineGetter__: (...)__defineSetter__: (...)__lookupGetter__: (...)__lookupSetter__: (...)__proto__: Array(0)type: "tap"_userTap: trueconstructor: (...)hasOwnProperty: (...)isPrototypeOf: (...)propertyIsEnumerable: (...)toLocaleString: (...)toString: (...)valueOf: (...)__defineGetter__: (...)__defineSetter__: (...)__lookupGetter__: (...)__lookupSetter__: (...)__proto__: Object 999
VM145 appservice.js:4402 11111 0 222 "" 333 "wx1362f02ae8df9e5f"