微信环境下获取code、access_token和openid
//获取code
getCode ()
function getCode() {
var code = GetRequest()['code'];
var local = window.location.href;
if (code == null || code === '') {
window.location.href = 'https://open.weixin.qq.com/connect/oauth2/authorize?appid=' + windo.
原创
2021-05-27 10:38:13 ·
760 阅读 ·
0 评论