- wx-open-launch-weapp 唤起小程序ios下extra-data参数没有转换成对象
服务号网页使用wx-open-launch-weapp 唤起小程序的时候,附带的extra-data参数为json格式的字符串参数,在安卓手机下,小程序接收到的extra-data是一个对象,但是在ios手机下,小程序接收到的extra-data是一个json格式的字符串,导致传参错误。请修复这个问题
2022-04-27 - 云函数本地测试数据库更新数据时提示-501001
Promise {[[PromiseStatus]]: "rejected", [[PromiseValue]]: Error: errCode: -501001 resource system error | errMsg: read ECONNRESET; at new CloudSDKError (…}__proto__: Promise[[PromiseStatus]]: "rejected"[[PromiseValue]]: Error: errCode: -501001 resource system error | errMsg: read ECONNRESET; at new CloudSDKError (D:\work\uread_wxapp\cloudfunctions\update_feeds\node_modules\wx-server-sdk\index.js:6360:28) at Object.returnAsCloudSDKError (D:\work\uread_wxapp\cloudfunctions\update_feeds\node_modules\wx-server-sdk\index.js:6412:16) at Object.checkError (D:\work\uread_wxapp\cloudfunctions\update_feeds\node_modules\wx-server-sdk\index.js:1673:23) at DocumentReference.<anonymous> (D:\work\uread_wxapp\cloudfunctions\update_feeds\node_modules\wx-server-sdk\index.js:1571:41) at step (D:\work\uread_wxapp\cloudfunctions\update_feeds\node_modules\tslib\tslib.js:136:27) at Object.next (D:\work\uread_wxapp\cloudfunctions\update_feeds\node_modules\tslib\tslib.js:117:57) at fulfilled (D:\work\uread_wxapp\cloudfunctions\update_feeds\node_modules\tslib\tslib.js:107:62) at <anonymous> at process._tickCallback (internal/process/next_tick.js:188:7) reason: Error: errCode: -501001 resource system error | errMsg: read ECONNRESET; at new CloudSDKError (D:\work\uread_wxapp\cloudfunctions\update_feeds\node_modules\wx-server-sdk\index.js:6360) at Object.returnAsCloudSDKError (D:\work\uread_wxapp\cloudfunctions\update_feeds\node_modules\wx-server-sdk\index.js:6412) at Object.checkError (D:\work\uread_wxapp\cloudfunctions\update_feeds\node_modules\wx-server-sdk\index.js:1673) at DocumentReference.<anonymous> (D:\work\uread_wxapp\cloudfunctions\update_feeds\node_modules\wx-server-sdk\index.js:1571) at step (D:\work\uread_wxapp\cloudfunctions\update_feeds\node_modules\tslib\tslib.js:136) at Object.next (D:\work\uread_wxapp\cloudfunctions\update_feeds\node_modules\tslib\tslib.js:117) at fulfilled (D:\work\uread_wxapp\cloudfunctions\update_feeds\node_modules\tslib\tslib.js:107) at <anonymous> at process._tickCallback (internal/process/next_tick.js:188) 前两天也出现-501001的错误,后来又没问题了。今天修改点东西的时候发现又出现了。搜了一下大家也会频频出现这个问题,请问这个问题是为何出现,如何避免?如果上线后还是偶尔出现一下这种问题,很影响系统的稳定性。
2019-07-30