Commit 62a619a0 by guojuxing

恢复接口

parent 1956a3ec
...@@ -164,6 +164,13 @@ public interface MenuApiService { ...@@ -164,6 +164,13 @@ public interface MenuApiService {
ServiceResponse<List<MenuDTO>> getAllMenuNotTree(String versionCode); ServiceResponse<List<MenuDTO>> getAllMenuNotTree(String versionCode);
/** /**
* 运维处使用
* @param enterpriseId
* @return
*/
ServiceResponse<List<MenuDTO>> getSuperAdminMenuNotTree(Integer enterpriseId);
/**
* 查询gic菜单页面树数据 * 查询gic菜单页面树数据
* @Title: listMenuTree
 * @Title: listMenuTree

* @Description: * @Description:
......
...@@ -249,6 +249,16 @@ public class MenuApiServiceImpl implements MenuApiService { ...@@ -249,6 +249,16 @@ public class MenuApiServiceImpl implements MenuApiService {
} }
@Override @Override
public ServiceResponse<List<MenuDTO>> getSuperAdminMenuNotTree(Integer enterpriseId) {
ServiceResponse<EnterpriseDTO> result = enterpriseApiService.getEnterpriseById(enterpriseId);
if (result.isSuccess()) {
String versionCode = result.getResult().getVersionCode();
return getAllMenuNotTree(versionCode);
}
return ServiceResponse.failure(result.getCode(), result.getMessage());
}
@Override
public ServiceResponse<List<MenuDTO>> listMenuTree(MenuListQO params) { public ServiceResponse<List<MenuDTO>> listMenuTree(MenuListQO params) {
if (params.getIsGIC() == null) { if (params.getIsGIC() == null) {
params.setIsGIC(MenuProjectConstants.DEFAULT_PROJECT_CODE); params.setIsGIC(MenuProjectConstants.DEFAULT_PROJECT_CODE);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment