|
@@ -152,7 +152,7 @@ public class WxController {
|
|
|
val btnDesc = new WxMenuButton();
|
|
|
btnDesc.setName("平台简介");
|
|
|
val btn31 = new WxMenuButton();
|
|
|
- btn31.setName("帮助");
|
|
|
+ btn31.setName("家庭手册");
|
|
|
btn31.setType(WxConsts.MenuButtonType.VIEW);
|
|
|
btn31.setUrl(
|
|
|
wxService.oauth2buildAuthorizationUrl(weChatProperties.getDomain() +
|
|
@@ -160,15 +160,24 @@ public class WxController {
|
|
|
WxConsts.OAuth2Scope.SNSAPI_USERINFO, null)
|
|
|
);
|
|
|
val btn32 = new WxMenuButton();
|
|
|
- btn32.setName("简介");
|
|
|
+ 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/desc.html",
|
|
|
WxConsts.OAuth2Scope.SNSAPI_USERINFO, null)
|
|
|
);
|
|
|
btnDesc.getSubButtons().add(btn31);
|
|
|
btnDesc.getSubButtons().add(btn32);
|
|
|
+ btnDesc.getSubButtons().add(btn33);
|
|
|
// btn3.getSubButtons().add(btnDesc);
|
|
|
// btn3.getSubButtons().add(btnHelp);
|
|
|
|