我也遇到这个问题了,您是怎么解决这个问题的?
调用顺丰同城配接口返回的错误信息,一直报微信接口验证失败,是什么问题?{"resultcode":2004,"resultmsg":"微信接口验证签名失败","fee":0,"deliverfee":0,"tips":0,"insurancefee":0,"distance":0,"delivery_token":"","dispatch_duration":0} 调用的是immediateDelivery.preAddOrder这个接口。
2022-10-26没人管,自己弄,上手机浏览了下正常了,原来是工具不行就得上手机浏览!
[退货组件] 获取不到return_id ?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"
2022-07-20没人管,自己弄,上手机浏览了下正常了,原来是工具不行就得上手机浏览!
[退货组件] 获取不到return_id?appid: "wx1362f02ae8df9e5f" shop_order_id: "1234567890" 发送数据: let that =this ; wx.cloud.callFunction({ name:"jishipeisong", data:{ $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 为空 errMsg: "cloud.callFunction:ok"requestID: "1045e5da-38bb-45be-a78b-004b160cd17d"result: null
2022-07-20