From f9e3ddafd9c6f2910c073c3e1580ad896359fb08 Mon Sep 17 00:00:00 2001 From: wanggeng <450292408@qq.com> Date: Mon, 1 Nov 2021 11:21:57 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A4=84=E7=90=86OAuth2=E5=AE=A2=E6=88=B7?= =?UTF-8?q?=E7=AB=AF=E8=8F=9C=E5=8D=95=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../oauth2/server/service/impl/OAuth2ClientServiceImpl.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/login-oauth2-server/src/main/java/ink/wgink/login/oauth2/server/service/impl/OAuth2ClientServiceImpl.java b/login-oauth2-server/src/main/java/ink/wgink/login/oauth2/server/service/impl/OAuth2ClientServiceImpl.java index 43d821f6..dba714e8 100644 --- a/login-oauth2-server/src/main/java/ink/wgink/login/oauth2/server/service/impl/OAuth2ClientServiceImpl.java +++ b/login-oauth2-server/src/main/java/ink/wgink/login/oauth2/server/service/impl/OAuth2ClientServiceImpl.java @@ -78,7 +78,7 @@ public class OAuth2ClientServiceImpl extends DefaultBaseService implements IOAut throw new UpdateException("菜单已经绑定", true); } Map params = getHashMap(2); - if (StringUtils.isBlank(menuId)) { + if (StringUtils.isBlank(oauth2ClientPO.getMenuId())) { LOG.debug("菜单为空,创建菜单:{}", oauth2ClientPO.getClientName()); MenuVO menuVO = new MenuVO(); menuVO.setMenuParentId("0");