解决bug:微信Oauth授权url地址参数缺失 https://gitee.com/jeequan/jeepay/issues/I3Y60C

This commit is contained in:
terrfly 2021-06-28 17:33:08 +08:00
parent 9ea14db90a
commit 5ffcacb34e
1 changed files with 1 additions and 1 deletions

View File

@ -65,7 +65,7 @@ public class WxpayChannelUserService implements IChannelUserService {
oauth2Url = DEFAULT_OAUTH_URL;
}
return String.format(oauth2Url + "?appid=%s&scope=snsapi_base&state=&redirect_uri=%s", appId, callbackUrlEncode);
return String.format(oauth2Url + "?appid=%s&scope=snsapi_base&state=&redirect_uri=%s&response_type=code#wechat_redirect", appId, callbackUrlEncode);
}
@Override