微信开发者工具调用成功,真机调用接口不成功,只是为什么呢?

小程序 文章 2022-02-24 10:20 2633 0 全屏看文

AI助手支持GPT4.0

微信开发者工具调用成功,真机调用接口不成功,只是为什么呢?The WeChat developer tool is successfully called, but the real machine interface is unsuccessful, but why?

微信开发者工具调用成功,真机调用接口不成功,只是为什么呢?

开发者工具调用时候请求成功:

真机调试时接口调用不成功,如图:


The request is successful when the developer tool is called: the interface call is unsuccessful when the real machine is debugged, as shown in the figure:

回答:

社交恐怖分z:

来个代码片段。把接口请求放代码片段里 我试下

brave:

接口地址提供一下

小黎:

这个勾上

韩雨恒:一样的。所以我才奇怪
小黎:看下地址

-EOF-

AI助手支持GPT4.0