真机调试正常,体验版和线上request:fail url not in domain list?

小程序 文章 2021-02-02 14:01 0 7 全屏看文

真机调试正常,体验版和线上request:fail url not in domain list?The debugging of the real machine is normal, and the trial version and online request: fail url not in domain list?

真机调试正常,体验版和线上request:fail url not in domain list?

小程序开发版本和真机调试都正常,发布审核过后,体验版本和线上版本都会报错:

code: 400, 

msg: request:fail url not in domain list, 

detail: {"errMsg":"request:fail url not in domain list"},

根据前辈们提出的解决方案,没有一个可以解决的,求大神们指点迷津。

The development version and real machine debugging of the small program are normal. After the release audit, the experience version and online version will report an error: Code: 400, MSG: request:fail url not in domain list, detail: {"errMsg":" request:fail url Not in domain list "}, according to the solutions proposed by the predecessors, there is no one that can be solved, so we ask the great gods to guide us.

回答:

mxf:

真机调试的时候不要开调试模式

-EOF-