我的小程序发布后,为什么接口不能调用?

小程序 文章 2021-02-03 15:01 747 0 全屏看文

AI助手支持GPT4.0

我的小程序发布后,为什么接口不能调用?Why can't the interface be called after my mini program is released?

我的小程序发布后,为什么接口不能调用?

我在开发工具里就直接使用https调试,接口访问都是正常的,我也配置了https服务器域名和业务域名,审核通过后,我发布小程序,手机测试接口调用都没有反应

I directly use HTTPS to debug in the development tool, and the interface access is normal. I also configure the domain name of the HTTPS server and the business domain name. After the approval, I release the small program, and the mobile phone test interface call does not respond

回答:

柠檬鲸科技:

域名发出来,初步判断ssl宽容度问题,设置ssl支持1.0 1.1 1.2 1.3


key=.#&&:

试试真机调试呢

Chaos:真机调试下一切正常,并且取消了不校验https和合法域名
默垂眸:

开发版打开调试 进入正式小程序 看下有无报错

Chaos:取消了不校验https和合法域名情况下真机调试下一切正常,并且没有报错,很费解

-EOF-

AI助手支持GPT4.0