|
@@ -174,16 +174,16 @@ public class WxController {
|
|
|
|
|
|
btnDesc.getSubButtons().add(btn31);
|
|
|
|
|
|
-// val btn32 = new WxMenuButton();
|
|
|
-// btn32.setName("用户注册");
|
|
|
-// btn32.setType(WxConsts.MenuButtonType.VIEW);
|
|
|
-// btn32.setUrl(
|
|
|
-// wxService.oauth2buildAuthorizationUrl(weChatProperties.getDomain() +
|
|
|
-// "/user/register.html",
|
|
|
-// WxConsts.OAuth2Scope.SNSAPI_USERINFO, null)
|
|
|
-// );
|
|
|
-//
|
|
|
-// btnDesc.getSubButtons().add(btn32);
|
|
|
+ val btn32 = new WxMenuButton();
|
|
|
+ btn32.setName("用户注册");
|
|
|
+ btn32.setType(WxConsts.MenuButtonType.VIEW);
|
|
|
+ btn32.setUrl(
|
|
|
+ wxService.oauth2buildAuthorizationUrl(weChatProperties.getDomain() +
|
|
|
+ "/user/register.html",
|
|
|
+ WxConsts.OAuth2Scope.SNSAPI_USERINFO, null)
|
|
|
+ );
|
|
|
+
|
|
|
+ btnDesc.getSubButtons().add(btn32);
|
|
|
|
|
|
// btn3.getSubButtons().add(btnDesc);
|
|
|
// btn3.getSubButtons().add(btnHelp);
|