Error: MiniProgramError
{“errMsg”:“request:fail url not in domain list”}
at Object.errorReport (WAServiceMainContext.js?t=wechat&s=1728355620917&v=3.5.6:1)
at Function.thirdErrorReport (WAServiceMainContext.js?t=wechat&s=1728355620917&v=3.5.6:1)
at Object.thirdErrorReport (WAServiceMainContext.js?t=wechat&s=1728355620917&v=3.5.6:1)
at i (WASubContext.js?t=wechat&s=1728355620917&v=3.5.6:1)
at Object.cb (WASubContext.js?t=wechat&s=1728355620917&v=3.5.6:1)
at q._privEmit (WASubContext.js?t=wechat&s=1728355620917&v=3.5.6:1)
at q.emit (WASubContext.js?t=wechat&s=1728355620917&v=3.5.6:1)
at WASubContext.js?t=wechat&s=1728355620917&v=3.5.6:1
at n (WASubContext.js?t=wechat&s=1728355620917&v=3.5.6:1)
at $e (WASubContext.js?t=wechat&s=1728355620917&v=3.5.6:1)(env: macOS,mp,1.06.2407120; lib: 3.5.6)

这种请求失败的情况下,需要设置不校验合法域名
在这里插入图片描述
把这里钩上
在这里插入图片描述

Logo

有“AI”的1024 = 2048,欢迎大家加入2048 AI社区

更多推荐