Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
jinli gu
Jeepay
Commits
5ffcacb3
Commit
5ffcacb3
authored
Jun 28, 2021
by
terrfly
Browse files
解决bug:微信Oauth授权url地址参数缺失
https://gitee.com/jeequan/jeepay/issues/I3Y60C
parent
9ea14db9
Changes
1
Hide whitespace changes
Inline
Side-by-side
jeepay-payment/src/main/java/com/jeequan/jeepay/pay/channel/wxpay/WxpayChannelUserService.java
View file @
5ffcacb3
...
...
@@ -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
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment