小程序单页模式下调用接口与普通调用接口区别?

小程序 文章 2021-03-03 18:01 596 0 全屏看文

AI助手支持GPT4.0

小程序单页模式下调用接口与普通调用接口区别?What is the difference between the calling interface in the mini program single page mode and the normal calling interface?

小程序单页模式下调用接口与普通调用接口区别?

小程序单页模式下接口请求是否需要额外配置?

小程序端进入接口请求正常,单页模式下接口请求异常为400

Does interface request need additional configuration in applet single page mode? The request to enter the interface of the applet is normal, and the exception is 400 in single page mode

回答:

微喵网络:

没区别

Mr.Zhao:

没分别,自查代码

面条君:

400的原因可能是请求参数的问题吧,单页模式下有一些api用不了的,具体看看文档

-EOF-

AI助手支持GPT4.0