|
@@ -160,45 +160,25 @@ public class WxController {
|
|
|
|
|
|
|
|
|
val btnDesc = new WxMenuButton();
|
|
|
- btnDesc.setName("平台简介");
|
|
|
- val btn31 = new WxMenuButton();
|
|
|
- btn31.setName("家庭手册");
|
|
|
- btn31.setType(WxConsts.MenuButtonType.VIEW);
|
|
|
- btn31.setUrl(
|
|
|
+ btnDesc.setName("用户认证");
|
|
|
+ btnDesc.setType(WxConsts.MenuButtonType.VIEW);
|
|
|
+ btnDesc.setUrl(
|
|
|
wxService.oauth2buildAuthorizationUrl(weChatProperties.getDomain() +
|
|
|
"/home/homeHelp.html",
|
|
|
WxConsts.OAuth2Scope.SNSAPI_USERINFO, null)
|
|
|
);
|
|
|
- val btn32 = new WxMenuButton();
|
|
|
- btn32.setName("管理员手册");
|
|
|
- btn32.setType(WxConsts.MenuButtonType.VIEW);
|
|
|
- btn32.setUrl(
|
|
|
- wxService.oauth2buildAuthorizationUrl(weChatProperties.getDomain() +
|
|
|
- "/home/adminHelp.html",
|
|
|
- WxConsts.OAuth2Scope.SNSAPI_USERINFO, null)
|
|
|
- );
|
|
|
|
|
|
- val btn33 = new WxMenuButton();
|
|
|
- btn33.setName("出入管理");
|
|
|
- btn33.setType(WxConsts.MenuButtonType.VIEW);
|
|
|
- btn33.setUrl(
|
|
|
- wxService.oauth2buildAuthorizationUrl(weChatProperties.getDomain() +
|
|
|
- "/home/outHelp.html",
|
|
|
- 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);
|
|
|
|
|
|
- val btn34 = new WxMenuButton();
|
|
|
- btn34.setName("简介");
|
|
|
- btn34.setType(WxConsts.MenuButtonType.VIEW);
|
|
|
- btn34.setUrl(
|
|
|
- wxService.oauth2buildAuthorizationUrl(weChatProperties.getDomain() +
|
|
|
- "/home/desc.html",
|
|
|
- WxConsts.OAuth2Scope.SNSAPI_USERINFO, null)
|
|
|
- );
|
|
|
- btnDesc.getSubButtons().add(btn31);
|
|
|
- btnDesc.getSubButtons().add(btn32);
|
|
|
- btnDesc.getSubButtons().add(btn33);
|
|
|
- btnDesc.getSubButtons().add(btn34);
|
|
|
// btn3.getSubButtons().add(btnDesc);
|
|
|
// btn3.getSubButtons().add(btnHelp);
|
|
|
|