小程序本地测试时勾选了不校验合法用户名,审核发布后发现无法访问接口,麻烦问下http域名的接口需要怎么访问
小程序正式版会校验域名合法吗?Will the official version of the Mini Program verify that the domain name is legal?
小程序正式版会校验域名合法吗?小程序本地测试时勾选了不校验合法用户名,审核发布后发现无法访问接口,麻烦问下http域名的接口需要怎么访问
The local test of the small program has checked the illegal user name. After the audit and release, it is found that the interface cannot be accessed. Please ask how to access the HTTP domain name interface
回答:
正式的只可能是https的 如果你是http的 你连审核那一关都过不了
线上要配置https安全域名,在管理后台,线上环境是强者校验的
原文出处:小程序正式版会校验域名合法吗?
学习下云开发,用云函数去请求http,小程序里请求云函数。