- openapi.security.msgSecCheck 今天是不是故障了?
openapi.security.msgSecCheck 今天是不是故障了?2024/8/16 使用云调用,苹果安卓都会出现错误!
08-16 - 人群包播控的API接口什么时候能开放啊?
人群包播控的API接口什么时候能开放啊?
02-19 - sub_mch_id与sub_appid不匹配?
payMoney() { ///开始支付 wx.showLoading({ title: '加载...', }) //console.log('app.globalData.user.vid,', app.globalData, app.globalData.user.vid) wx.cloud.callFunction({ name: 'createOrder', data: { vid: app.globalData.user.vid, totalFee: this.data.totalFee, } }).then(res => { wx.hideLoading() console.log('createorder :',res.result, res) this.unifiedOrder(res.result) }).catch(err => { wx.hideLoading() }) }, unifiedOrder(data) { //统一下单 console.log('unifiedOrder data',data) wx.showLoading({ title: '加载...', }) wx.cloud.callFunction({ name: 'unifiedOrder', data: data }).then(res => { //同一下单预处理order console.log('res.result.payment',res) wx.hideLoading() this.requestPayment(res.result.payment) }).catch(err => { console.log(err) wx.hideLoading() }) }, requestPayment(payment) { let that = this wx.requestPayment({ ...payment, success(res) { console.log('pay success', res) wx.showModal({ content: '打赏成功!', showCancel: false, success: res2 => { if (res2.confirm) { //console.log('app.globalData.user', app.globalData.user) app.globalData.user.coin = app.globalData.user.coin + parseInt(that.data.totalFee / 100) wx.redirectTo({ url: `/pages/${that.data.page}/${that.data.page}`, }) } } }) }, fail(err) { console.error('pay fail', err) wx.showModal({ content: '打赏失败!', showCancel: false, }) } }) }, ////////// 提示{returnCode: "FAIL", returnMsg: "sub_mch_id与sub_appid不匹配", errCode: 0, errMsg: "cloudPay.unifiedOrder:ok"} 基于腾讯云开发的,
2023-12-22 - We分析后台提示Maximum call stack size exceeded?
we分析js错误,均为ios的手机,这个错误如何定位? [图片] [图片]
2023-12-06 - 如何定位we分析中的js错误?
Cannot read properties of undefined (reading \'data\') [DEBUG pages/guess/join.js:1351] TypeError: Cannot read properties of undefined (reading \'data\') [DEBUG pages/guess/join.js:1351] at r (https://pages/guess/guess.js:1:1) [DEBUG pages/guess/join.js:1351] at Object.fail (https://lib/WASubContext.js:1:139968) at Object.fail (https://lib/WASubContext.js:1:140241) ______________________________________________________ undefined is not an object (evaluating \'k[i[++j]][k[i[++j]]]\') [DEBUG pages/pay/pay.js:1301] r@https://usr//app-service.js:1801:2251 [DEBUG pages/pay/pay.js:1301] @https://lib/WAServiceMainContext.js:1:2020550 [DEBUG pages/pay/pay.js:1301] Pn@https://lib/WASubContext.js:1:352869 @https://lib/WAServiceMainContext.js:1:2020536 @https://lib/WAServiceMainContext.js:1:873142 a@https://lib/WAServiceMainContext.js:1:644718 Ou@https://lib/WAServiceMainContext.js:1:644890 Bu@https://lib/WAServiceMainContext.js:1:646030 @https://lib/WAServiceMainContext.js:1:646260 s@https://lib/WAServiceMainContext.js:1:123205 callAndRemove@https://lib/WAServiceMainContext.js:1:118753 invokeCallbackHandler@https://lib/WAServiceMainContext.js:1:122252 --------------- [DEBUG pages/guess/join.js:1351 啥意思,1351字符吗?行数没到1351
2023-10-24 - 加固配配置没有合法合法的Js文件?
{ "desc": "关于本文件的更多信息,请参考文档 代码加固开发者文档: https://developers.weixin.qq.com/miniprogram/dev/devtools/code_obfuscation.html", "switch": true, "configs": [ { "path": "pages/guess/guess.js", "sub_switch": true }, { "path": "pages/create/create.js", "sub_switch": true }, { "path": "pages/guess/join.js", "sub_switch": true }, { "path": "pages/join/join.js", "sub_switch": true }, { "path": "pages/join/detail.js", "sub_switch": true }, { "path": "pages/list/list.js", "sub_switch": true } ] } 加固配置文件如上,调试基础库V2.30.2 devtool-code-obfuscation V0.1.0 开发工具 1.06 稳定版
2023-05-20 - 云函数调用问题 cloud.callFunction:fail -404012 polling ?
cloud.callFunction:fail -404012 polling exceed max timeout retry. (callId: 1665789615700-0.16589497007724097) (trace: 7:20:15 start->7:20:16 app hide->7:20:20 app show->7:20:30 timeout, retry->7:20:45 timeout, retry->7:21:0 timeout, abort) Error: cloud.callFunction:fail -404012 polling exceed max timeout retry. (callId: 1665789615700-0.16589497007724097) (trace: 7:20:15 start->7:20:16 app hide->7:20:20 app show->7:20:30 timeout, retry->7:20:45 timeout, retry->7:21:0 timeout, abort) at x (https://lib/WASubContext.js:1:277024) at Function.<anonymous> (https://lib/WASubContext.js:1:300646) at t (https://lib/WASubContext.js:1:123054) at s (https://lib/WASubContext.js:1:123265)
2022-10-18 - 公司公众号注销后,是否影响以该主体的小程序的使用?
[图片] 是否影响用该公众号创建的小程序的使用?? 希望哪位大佬回答下?
2022-09-20 - Web-view 可以打开公众号文章,却不能打开公众号文章的话题?
Web-view 可以打开公众号文章,却不能打开公众号文章的话题? 求更新啊,话题也是同一公众号下的文章。 文章:https://mp.weixin.qq.com/s?__biz=MzU4MTcyNzUyNg==&mid=2247507100&idx=1&sn=75ab2c0a59e5159e829c7a6ba74bf81a&chksm=fd41b8d5ca3631c34f646762208dc65b41bf61b9cdbccd5ee1a7acf1d4a4715d02e34028ca90#rd 话题:https://mp.weixin.qq.com/mp/appmsgalbum?__biz=MzU4MTcyNzUyNg==&action=getalbum&album_id=2259882506298687492&scene=173&from_msgid=2247507100&from_itemidx=1&count=3&nolastread=1#wechat_redirect
2022-03-06 - sort函数在小程序端,和云开发的云函数数据不一致问题?
function findTop(members) { /* sort 在客户端小程序云端,排序数据不一致 */ let top = { realName: '', openid: '', price: 0 } if (members.length > 0) { top = members[0] for (let i = 0; i < members.length; i++) { if (top.price < members[i].price) { top = members[i] } } } return top } function findTop2(members){ let top = { realName: '', openid: '', price: 0 } if (members.length > 0) { members.sort(function (a, b) { return b.price - a.price }) console.log(members) top = members[0] } return top } let members=[{ "avatarUrl": "", "nickName": "", "price": 120, "realName": "黄玉如", "createDate": "2020-12-28 14:52:13", "openid": "oalIN5BbjgUnIIJDGVycjxiY3MKE" }, { "avatarUrl": "", "nickName": "", "price": 90, "realName": "王铮", "createDate": "2020-12-28 14:57:37", "openid": "oalIN5Jy9qMHK-sEVmXc8sfmN5-0" }, { "avatarUrl": "", "nickName": "", "price": 150, "realName": "郑兴响", "createDate": "2020-12-28 14:58:11", "openid": "oalIN5POkZXM6g-aWp4NhZVsXMaM" }, { "avatarUrl": "https://thirdwx.qlogo.cn/mmopen/vi_32/Q0j4TwGTfTINV6SGu6wxibeCjiafk3eIX55BDq8JNibmQtUpVcMtMqKb9aAJBlJ1qGfWibXWg9PTib3JKJgQgghkswQ/132", "nickName": "倚歌", "price": 100, "realName": "郑锦平", "createDate": "2020-12-28 15:24:54", "openid": "oalIN5CAm9mGDWgPkqbqqkNLiSuY" }, { "avatarUrl": "https://thirdwx.qlogo.cn/mmopen/vi_32/PbRsCBUfCWbcBYorXZJunpBSBtXNHPVfk65A4lyXzEJuVqNibib1P0033CBmkdC7viboVt7EgqdQDK8qicD7PPQfibg/132", "nickName": "林英枝", "price": 100, "realName": "林英枝", "createDate": "2020-12-28 15:26:33", "openid": "oalIN5LIatxlx75Q2kz6Ge5UTnvs" }, { "avatarUrl": "", "nickName": "", "price": 160, "realName": "唐晓秋", "createDate": "2020-12-28 15:38:26", "openid": "oalIN5K1rd-Vs3rYHZk5sxaexu0g" }, { "avatarUrl": "", "nickName": "", "price": 120, "realName": "蔡尚芳", "createDate": "2020-12-28 15:41:32", "openid": "oalIN5LNykPxzyUv5T0Jr0K2u7Y0" }, { "avatarUrl": "", "nickName": "", "price": 120, "realName": "黄文娟", "createDate": "2020-12-28 15:58:13", "openid": "oalIN5BkNvpJEDqszA0OhmnFr6Yc" }, { "avatarUrl": "", "nickName": "", "price": 156, "realName": "郑升", "createDate": "2020-12-28 16:42:13", "openid": "oalIN5HRmVk_QvAixiPJhbi-noj4" }, { "avatarUrl": "", "nickName": "", "price": 98, "realName": "王晓霞", "createDate": "2020-12-28 16:50:32", "openid": "oalIN5LusQTo8Z-B5nnhmL5slP2w" }, { "avatarUrl": "https://thirdwx.qlogo.cn/mmopen/vi_32/F5QaS9RCtlywN2gY9ZtJLcNeuzbZLM50s8jaqVfa3XN0gc0059iccuwODWqica90PicKsnfIFibU8G4OX6hibMhPnKA/132", "nickName": "林乐平", "price": 120, "realName": "林乐平", "createDate": "2020-12-28 16:51:42", "openid": "oalIN5BQ7b_FUj9basCugBBqHfpA" }, { "avatarUrl": "", "nickName": "", "price": 120, "realName": "叶雪琴", "createDate": "2020-12-28 17:06:08", "openid": "oalIN5P_MRv8YWlyU3yr_EQEb8Tw" }, { "avatarUrl": "https://thirdwx.qlogo.cn/mmopen/vi_32/Q0j4TwGTfTLcf7o6fEe1g3Hy21PpYyKF3u1KsKTOaC3Yd6tibNhopicNMOxVmQ5Mw7cMP5AM1icyIYwvyiaVVBibVyQ/132", "nickName": "王小二", "price": 120, "realName": "王小喆", "createDate": "2020-12-28 17:08:49", "openid": "oalIN5PGcUPWLRpFhfglMiZnhvh4" }, { "avatarUrl": "", "nickName": "", "price": 120, "realName": "龚美兰", "createDate": "2020-12-28 17:10:18", "openid": "oalIN5IppKUaUDhXZDyCTmlwEtEM" }, { "avatarUrl": "", "nickName": "", "price": 160, "realName": "张巧玲", "createDate": "2020-12-28 17:22:44", "openid": "oalIN5NQPAuQFUirAkOfIC1zkSds" }] // findTop2 云开发端返回: 唐晓秋 //findTop 小程序端: 张巧玲 //z这两者都是160的price //q求解
2020-12-28