【7.1.2】【应用】修复激活应用的菜单判断问题

pull/22/head
fengshuonan 2021-08-24 18:43:27 +08:00
parent 62fb9e56a1
commit bc8a6e57b8
1 changed files with 1 additions and 1 deletions

View File

@ -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);
}