网页授权获取openid,本地测试账号可以,用正式账号上传至服务器就获取不了?
我在使用 https://developers.weixin.qq.com/doc/offiaccount/OA_Web_Apps/Wechat_webpage_authorization.html 开发文档获取用户openid时,在本地用测试账号可成功获取,上传至服务器后可获取到code,将拼接好的url复制出来在微信点开也可以正常拿到openid,但使用get请求这个url确没有返回相关信息,返回信息如下:[图片] data返回值为: "<!DOCTYPE html><html lang=zh-CN><head><meta charset=utf-8><meta http-equiv=X-UA-Compatible content="IE=edge"><title>培训</title><script>var coverSupport = 'CSS' in window && typeof CSS.supports === 'function' && (CSS.supports('top: env(a)') || CSS.supports('top: constant(a)')) document.write('<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0' + (coverSupport ? ', viewport-fit=cover' : '') + '" />')</script><link rel=stylesheet href=/static/index.a5c69d49.css></head><body><noscript><strong>Please enable JavaScript to continue.</strong></noscript><div id=app></div><script src=/static/js/chunk-vendors.023a291c.js></script><script src=/static/js/index.7f13cfe0.js></script></body></html>"