mirror of https://gitee.com/stylefeng/roses
【7.1.2】【应用】修复激活应用的菜单判断问题
parent
62fb9e56a1
commit
bc8a6e57b8
|
@ -157,7 +157,7 @@ public class SysAppServiceImpl extends ServiceImpl<SysAppMapper, SysApp> impleme
|
|||
|
||||
// 如果应用下没有菜单,不能激活
|
||||
boolean hasMenu = menuApi.hasMenu(currentApp.getAppCode());
|
||||
if (hasMenu) {
|
||||
if (!hasMenu) {
|
||||
throw new ServiceException(AppExceptionEnum.ACTIVE_ERROR);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue