|
@@ -160,24 +160,19 @@ public class WxController {
|
|
|
|
|
|
|
|
|
|
val btnDesc = new WxMenuButton();
|
|
val btnDesc = new WxMenuButton();
|
|
- btnDesc.setName("用户认证");
|
|
|
|
- btnDesc.setType(WxConsts.MenuButtonType.VIEW);
|
|
|
|
- btnDesc.setUrl(
|
|
|
|
|
|
+ btnDesc.setName("平台简介");
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+ val btn31 = new WxMenuButton();
|
|
|
|
+ btn31.setName("用户认证");
|
|
|
|
+ btn31.setType(WxConsts.MenuButtonType.VIEW);
|
|
|
|
+ btn31.setUrl(
|
|
wxService.oauth2buildAuthorizationUrl(weChatProperties.getDomain() +
|
|
wxService.oauth2buildAuthorizationUrl(weChatProperties.getDomain() +
|
|
"/home/homeHelp.html",
|
|
"/home/homeHelp.html",
|
|
WxConsts.OAuth2Scope.SNSAPI_USERINFO, null)
|
|
WxConsts.OAuth2Scope.SNSAPI_USERINFO, null)
|
|
);
|
|
);
|
|
|
|
|
|
-// val btn31 = new WxMenuButton();
|
|
|
|
-// btn31.setName("用户认证");
|
|
|
|
-// btn31.setType(WxConsts.MenuButtonType.VIEW);
|
|
|
|
-// btn31.setUrl(
|
|
|
|
-// wxService.oauth2buildAuthorizationUrl(weChatProperties.getDomain() +
|
|
|
|
-// "/home/homeHelp.html",
|
|
|
|
-// WxConsts.OAuth2Scope.SNSAPI_USERINFO, null)
|
|
|
|
-// );
|
|
|
|
-//
|
|
|
|
-// btnDesc.getSubButtons().add(btn31);
|
|
|
|
|
|
+ btnDesc.getSubButtons().add(btn31);
|
|
|
|
|
|
// btn3.getSubButtons().add(btnDesc);
|
|
// btn3.getSubButtons().add(btnDesc);
|
|
// btn3.getSubButtons().add(btnHelp);
|
|
// btn3.getSubButtons().add(btnHelp);
|