**用unicloud开发小程序,微信小程序开发工具能正常调用云函数,但是真机调试和发布后就调用不了。已经设置了
https://api.bspapp.com作为合法域名。**
小程序后台提示:[getopenid]: request:fail url not in domain list
Error: [getopenid]: request:fail url not in domain list
at complete (weapp:///common/vendor.js:8693:8417)
at Object.o.complete (eval at n.call.document (http://127.0.0.1:38417/remote-debug/runtime.js?devtools_ignore=true:1:8753), <anonymous>:2:1432179)
at eval (eval at n.call.document (http://127.0.0.1:38417/remote-debug/runtime.js?devtools_ignore=true:1:8753), <anonymous>:2:589634)
at Module.c (eval at n.call.document (http://127.0.0.1:38417/remote-debug/runtime.js?devtools_ignore=true:1:8753), <anonymous>:2:1591990)
at Function.eval (eval at n.call.document (http://127.0.0.1:38417/remote-debug/runtime.js?devtools_ignore=true:1:8753), <anonymous>:2:589609)
at eval (eval at n.call.document (http://127.0.0.1:38417/remote-debug/runtime.js?devtools_ignore=true:1:8753), <anonymous>:2:127365)
at E (eval at n.call.document (http://127.0.0.1:38417/remote-debug/runtime.js?devtools_ignore=true:1:8753), <anonymous>:2:541009)
at i.eval (eval at n.call.document (http://127.0.0.1:38417/remote-debug/runtime.js?devtools_ignore=true:1:8753), <anonymous>:2:920436)
at i.emit (eval at n.call.document (http://127.0.0.1:38417/remote-debug/runtime.js?devtools_ignore=true:1:8753), <anonymous>:2:599114)
at ic (eval at n.call.document (http://127.0.0.1:38417/remote-debug/runtime.js?devtools_ignore=true:1:8753), <anonymous>:2:921160)
贤弟 (作者)
谢谢
2020-04-09 19:52