对照着开发文档一步步操作的:https://developers.weixin.qq.com/miniprogram/dev/wxcloud/guide/staticstorage/jump-miniprogram.html
微信里的浏览器能正常打开,但是手机浏览器打开没反应。
用chrome调试了一下,控制台报这个错:
Uncaught (in promise) Error: errCode: -1 | errMsg: cloud.callFunction:fail Error: errCode: -504002 functions execute fail | errMsg: Error: errCode: 40165 | errMsg: openapi.urlscheme.generate:fail invalid weapp pagepath rid: 637c8342-49d0daf2-4c31eb31
at callWXOpenAPI (/var/user/node_modules/wx-server-sdk/index.js:2397:31)
at processTicksAndRejections (/internal/process/task_queues.js:97:5) (callId: 1669104450428-0.9322815595543505) (trace: 16:7:30 start->16:7:30 system error (Error: errCode: -504002 functions execute fail | errMsg: Error: errCode: 40165 | errMsg: openapi.urlscheme.generate:fail invalid weapp pagepath rid: 637c8342-49d0daf2-4c31eb31
at callWXOpenAPI (/var/user/node_modules/wx-server-sdk/index.js:2397:31)
at processTicksAndRejections (/internal/process/task_queues.js:97:5)), abort); at cloud.callFunction api;
at new t (cloud.js:16:2910)
at cloud.js:16:3658
at c (cloud.js:16:3711)
at cloud.js:16:190305