Commit 2d7e4ab3 by 陶光胜

Merge branch 'developer' into 'master'

恢复接口

See merge request !15
parents 1b85a07c 62a619a0
......@@ -164,6 +164,13 @@ public interface MenuApiService {
ServiceResponse<List<MenuDTO>> getAllMenuNotTree(String versionCode);
/**
* 运维处使用
* @param enterpriseId
* @return
*/
ServiceResponse<List<MenuDTO>> getSuperAdminMenuNotTree(Integer enterpriseId);
/**
* 查询gic菜单页面树数据
* @Title: listMenuTree

* @Description:
......
......@@ -249,6 +249,16 @@ public class MenuApiServiceImpl implements MenuApiService {
}
@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) {
if (params.getIsGIC() == null) {
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