2020-7-11 10:21:19 [log] wx.request fail callback with msg request:fail -200:net::ERR_CERT_COMMON_NAME_INVALID with seq 0 2020-7-11 10:21:19 [log] wx.showToast api invoke 2020-7-11 10:21:19 [log] wx.request fail callback with msg request:fail -200:net::ERR_CERT_COMMON_NAME_INVALID with seq 0 2020-7-11 10:21:19 [log] wx.showToast api invoke 2020-7-11 10:21:19 [log] wx.request fail callback with msg request:fail -200:net::ERR_CERT_COMMON_NAME_INVALID with seq 0 2020-7-11 10:21:19 [log] wx.hideLoading api invoke 2020-7-11 10:21:19 [log] wx.showToast api invoke 2020-7-11 10:21:19 [log] wx.request fail ca
这个要看具体代码分析,但是请求后台接口失败,无非就是检查几点,
1.接口是否正常可以访问,可以用工具测试,apizza,postman 都可以
2.接口正常的情况,是否勾选了不校验域名,或者配置了线上域名没有
3.检查代码,接口参数,域名,方法名,请求头的是否正常