处理OAuth2客户端菜单问题

This commit is contained in:
wanggeng 2021-11-01 11:21:57 +08:00
parent 0974650b91
commit f9e3ddafd9

View File

@ -78,7 +78,7 @@ public class OAuth2ClientServiceImpl extends DefaultBaseService implements IOAut
throw new UpdateException("菜单已经绑定", true);
}
Map<String, Object> params = getHashMap(2);
if (StringUtils.isBlank(menuId)) {
if (StringUtils.isBlank(oauth2ClientPO.getMenuId())) {
LOG.debug("菜单为空,创建菜单:{}", oauth2ClientPO.getClientName());
MenuVO menuVO = new MenuVO();
menuVO.setMenuParentId("0");