谢邀,是数据推送,xml格式
企业微信授权通知事件?企业授权应用 从企业微信应用市场发起这种授权类型企业微信会有一个 【授权通知事件】https://work.weixin.qq.com/api/doc/90001/90143/90642 我想的是这个通知事件 是什么类型的 是指令推送 还是数据推送。。麻烦大家伙告诉我下 3q
2021-05-22检查下 E:\PROJECT\hotel-project\target\jeeplus\userfiles\apiclient_cert.p12 这个文件存在不存在吧。
微信支付 证书问题WxPayException(customErrorMsg=证书文件【E:\PROJECT\hotel-project\target\jeeplus\userfiles\apiclient_cert.p12】不存在,请核实!, returnCode=null, returnMsg=null, resultCode=null, errCode=null, errCodeDes=null, xmlString=null) 微信退款的時候 ,就一直报这个错,检查了配置文件,
2021-05-21WXPayUtil.mapToXml(return_data) 你的webserver需要把上述返回的XML返回给微信,你给的代码片段不够,不清楚你是怎么返回的。
微信支付成功了,也按照文档说的返回xml还是一直请求微信支付成功了,也按照文档说的返回xml还是一直请求 订单号:4200001030202105210930247358 商户号:1604637736 时间:2021-05-21 10:23:27 用的微信sdk中WXPayUtil.mapToXml()方法转的xml HashMap<String,String> return_data = new HashMap<String,String>(); return_data.put("return_code", "SUCCESS"); return_data.put("return_msg", "OK"); WXPayUtil.mapToXml(return_data)
2021-05-21你这是被风控了,打 95017 电话客服咨询下。
微信支付显示异常,限制金额只能交易50元以下,为什么[图片][图片]
2021-05-20 { appid: 'wxe43b****4db9e0d', cash_fee: '16900', mch_id: '153****671', nonce_str: 'ntFcYohOQlVjuNrj', out_refund_no_0: 'REFUND90210422022****495', out_refund_no_1: 'REFUND90210422022****495', out_refund_no_2: 'REFUND90210422022****495', out_refund_no_3: 'REFUND90210422021****495', out_refund_no_4: 'REFUND90210422021****495', out_refund_no_5: 'REFUND90210422022****495', out_refund_no_6: 'REFUND90210422022****495', out_trade_no: '90210****260236495', refund_account_0: 'REFUND_SOURCE_RECHARGE_FUNDS', refund_account_1: 'REFUND_SOURCE_RECHARGE_FUNDS', refund_account_2: 'REFUND_SOURCE_RECHARGE_FUNDS', refund_account_3: 'REFUND_SOURCE_RECHARGE_FUNDS', refund_account_4: 'REFUND_SOURCE_RECHARGE_FUNDS', refund_account_5: 'REFUND_SOURCE_RECHARGE_FUNDS', refund_account_6: 'REFUND_SOURCE_RECHARGE_FUNDS', refund_channel_0: 'ORIGINAL', refund_channel_1: 'ORIGINAL', refund_channel_2: 'ORIGINAL', refund_channel_3: 'ORIGINAL', refund_channel_4: 'ORIGINAL', refund_channel_5: 'ORIGINAL', refund_channel_6: 'ORIGINAL', refund_count: '7', refund_fee: '15400', refund_fee_0: '1950', refund_fee_1: '2950', refund_fee_2: '750', refund_fee_3: '1500', refund_fee_4: '3200', refund_fee_5: '3600', refund_fee_6: '1450', refund_id_0: '5030100792202105010843****244', refund_id_1: '5030100792202105020843****046', refund_id_2: '5030100792202105080862****822', refund_id_3: '5030100792202105080862****403', refund_id_4: '5030100792202105080862****727', refund_id_5: '5030100792202105080862****984', refund_id_6: '5030100792202105080862****520', refund_recv_accout_0: '招商银行信用卡7385', refund_recv_accout_1: '招商银行信用卡7385', refund_recv_accout_2: '招商银行信用卡7385', refund_recv_accout_3: '招商银行信用卡7385', refund_recv_accout_4: '招商银行信用卡7385', refund_recv_accout_5: '招商银行信用卡7385', refund_recv_accout_6: '招商银行信用卡7385', refund_status_0: 'SUCCESS', refund_status_1: 'SUCCESS', refund_status_2: 'SUCCESS', refund_status_3: 'SUCCESS', refund_status_4: 'SUCCESS', refund_status_5: 'SUCCESS', refund_status_6: 'SUCCESS', refund_success_time_0: '2021-05-01 19:56:06', refund_success_time_1: '2021-05-02 07:32:23', refund_success_time_2: '2021-05-08 11:06:56', refund_success_time_3: '2021-05-08 11:07:02', refund_success_time_4: '2021-05-08 11:06:49', refund_success_time_5: '2021-05-08 11:07:08', refund_success_time_6: '2021-05-08 11:00:17', result_code: 'SUCCESS', return_code: 'SUCCESS', return_msg: 'OK', sign: '81FEEA1494E023C5B462DA345D14F889', total_fee: '16900', transaction_id: '4200000****02104196998326642' } 给你拉一个例子,这笔退款单发生了7次部分退款请求,总实收款额 cash_fee=16900,总退款额 refund_fee=15400,refund_count = 7,下标 $n 就是0,1,2,3,5,6,每次退单的商户退单号就是 out_refund_no_$n。
如何理解退款查询返回$n结尾的字段?请问退款查询返回的字段,很多带有$n结尾,怎么理解,才能对得上我要查询的退款单?
2021-05-20谢邀,用户授权是oauth2协议,授权后要callback到你服务的一个地址(URL),这个404应该就是你发起授权时,没给对URL所致。
微信公众号授权成功后返回指定的页面弹出404微信公众号授权成功后返回指定的页面弹出404,但是用户已经授权成功,我指定的页面也没有自定义弹出404,请问一下这个 "错误404"是从哪定义的,报错原因是什么
2021-05-20谢邀,这个就是微信里的openid
企业微信家校沟通,外部联系人openid转换问题?https://work.weixin.qq.com/api/doc/90001/90143/92292 我想问下客服 这个openid是对应微信里面的openid吗?
2021-05-19for循环是同步循环,await不起作用,建议用Promise.all去并发。代码类似如下: Promise.all(imgUrls.map( async ({url}) => await this.imgInfoCheck(url) )).then(console.info); 如果想一张接一张处理,for循环可以这么写: for await (let pic of imgUrls) { this.imgInfoCheck(pic.url); }
for循环,图片批量鉴黄?我理想中的结果是一张一张图片鉴黄,把鉴定违规的图片删除,但是现在的结果如图: [图片] //上传图片 onChangeFlockData: async function (e) { let imgUrls = e.detail.all; //上传的图片数组 for (let i = 0; i < imgUrls.length; i++) { await this.imgInfoCheck(imgUrls[i].url) } }, //获取图片信息 imgInfoCheck: async function (url) { wx.getImageInfo({ src: url, }).then(async (res) => { console.log("图片信息:", res) const imgInfo = res.path; const imgWidth = res.width; const imgHeight = res.height; await this._compressImage(imgInfo, imgWidth, imgHeight); }) }, //图片压缩 _compressImage: async function (imgInfo, imgWidth, imgHeight) { const query = wx.createSelectorQuery() query.select('#canvas') .fields({ node: true, size: true }) .exec(res => { const canvas = res[0].node; const ctx = canvas.getContext('2d'); const dpr = wx.getSystemInfoSync().pixelRatio; const imgW = Math.trunc(imgWidth / dpr); const imgH = Math.trunc(imgW / imgWidth * imgHeight); canvas.width = imgW; canvas.height = imgH; ctx.clearRect(0, 0, imgW, imgH); this.setData({ canvasWidth: imgW, canvasHeight: imgH }); let imageObj = canvas.createImage(); imageObj.src = imgInfo; imageObj.onload = (res) => { ctx.drawImage(imageObj, 0, 0, imgW, imgH) }; const cfgSave = { fileType: "jpg", quality: 0.5, width: imgW, height: imgH, destWidth: imgW, destHeight: imgH, canvas: canvas, }; wx.canvasToTempFilePath({ ...cfgSave, }).then(async res => { let tempUrl = res.tempFilePath console.log("压缩后图片:", res) await this.imgSecCheck(tempUrl) }) }) }, //图片送审 imgSecCheck: async function (tempUrl) { wx.showLoading({ mask: true }); wx.getFileSystemManager().readFile({ filePath: tempUrl, encoding: "base64", success: function (res) { let imgBuffer = res.data wx.cloud.callFunction({ name: "msgSecCheck", data: { type: 'imgSecCheckBuffer', //以buffer方式上传送审 value: imgBuffer, } }).then(res => { console.log("图片检测结果:", res.result.errCode) wx.hideLoading() if (res.result.errCode === 87014) { wx.hideLoading() wx.showToast({ title: '图片含有违法违规内容', icon: 'none' }) return } // this._uploadImg(tempUrl) }).catch(err => { console.log(err) wx.hideLoading() wx.showModal({ title: '提示', content: '图片尺寸过大,请调整图片尺寸', success(res) { if (res.confirm) { console.log('用户点击确定') } else if (res.cancel) { console.log('用户点击取消') } } }) }) }, fail: err => { console.error(err); } }) },
2021-05-16电脑调试支持忽略域名校验;手机上是强校验,无法忽略。
web-view电脑调试没问题手机上就不行了有没有人遇到跟我一样的情况,电脑也没开关闭校验域名
2021-05-16B也可以是微信用户,不支持分账回退;只有分账接受方是商户的可以回退,即发生退款的时候,还可以把被分出去的要回来,即楼主的A可以从B处要回来被分出去的钱。
请问微信分账, 是不是要求收款方都是商户号才可以?例如:我有一笔账, 先支付到A,然后A分给B一点, 那是不是要去A和B都需要是商户号呢?
2021-05-16