1
0
mirror of synced 2025-12-23 18:48:00 +08:00

issue #105 WxCpService.oauth2buildAuthorizationUrl方法设计错误

This commit is contained in:
Daniel Qian
2015-02-11 17:56:48 +08:00
parent 2a439a6690
commit b8d011e73e
3 changed files with 5 additions and 4 deletions

View File

@@ -62,7 +62,7 @@ public class WxCpDemoServer {
@Override
public WxCpXmlOutMessage handle(WxCpXmlMessage wxMessage, Map<String, Object> context,
WxCpService wxCpService, WxSessionManager sessionManager) {
String href = "<a href=\"" + wxCpService.oauth2buildAuthorizationUrl(null)
String href = "<a href=\"" + wxCpService.oauth2buildAuthorizationUrl(wxCpConfigStorage.getOauth2redirectUri(), null)
+ "\">测试oauth2</a>";
return WxCpXmlOutMessage
.TEXT()