原本的查询添加数据库的云函数是可以使用的,现在全部都不能使用了
httpRequest.js:131 Your current request database.getDocument is longer than 3s, it may be due to the network or your query performance |
node.js:1 [error] 函数执行失败(耗时 15038ms) Error: errCode: -501001 resource system error | errMsg: collection.get:fail ESOCKETTIMEDOUT; at collection.get api;
at returnAsCloudSDKError (D:\WXAppDevelop\Projects\maicaihang_alpha\cloudfunctions\queryGoods\node_modules\wx-server-sdk\index.js:6187:16)
at Object.returnAsFinalCloudSDKError (D:\WXAppDevelop\Projects\maicaihang_alpha\cloudfunctions\queryGoods\node_modules\wx-server-sdk\index.js:6201:15)
at D:\WXAppDevelop\Projects\maicaihang_alpha\cloudfunctions\queryGoods\node_modules\wx-server-sdk\index.js:1437:32
at processTicksAndRejections (internal/process/task_queues.js:97:5)
ESOCKETTIMEDOUT
确认下本地计算机网络是否正常呢
谢谢回答,重启好多次了,云函数彻底删除,新建安装依赖,都不得
重启开发者工具试试, 我有时候也会遇到类似的奇怪问题