微信小程序调用接口无法获取数据?

小程序 文章 2022-04-14 17:00 764 0 全屏看文

AI助手支持GPT4.0

微信小程序调用接口无法获取数据?Can the WeChat applet call the interface fail to obtain data?

微信小程序调用接口无法获取数据?

js如图


但是无法获取数据

这个接口没有微信小程序实例,不知道是不是哪里错了

JS is shown in the figure, but the data cannot be obtained. There is no wechat applet instance for this interface. I don't know if there is something wrong

回答:

Mr.Zhao:

https 不是http(s)

解冬雪:天 竟然问题出在这里!!!我直接复制的,没看出来!
解冬雪:已经解决了!谢谢大家
brave:


把 http(s) 改成 https

-EOF-

AI助手支持GPT4.0