Commit 0b6bfb83 by guojuxing

权限菜单刷本地缓存

parent b56ab05f
...@@ -1426,7 +1426,7 @@ public class MenuApiServiceImpl implements MenuApiService { ...@@ -1426,7 +1426,7 @@ public class MenuApiServiceImpl implements MenuApiService {

 */ 
 */
private ServiceResponse<List<MenuDTO>> getNoAuthOperationItem(Integer userId, int projectCode, String versionCode) { private ServiceResponse<List<MenuDTO>> getNoAuthOperationItem(Integer userId, int projectCode, String versionCode) {
//没有基础服务数据,则返回空 //没有基础服务数据,则返回空
if (projectCode == MenuProjectConstants.DEFAULT_PROJECT_CODE && StringUtils.isBlank(versionCode)) { if (projectCode != MenuProjectConstants.APP_PROJECT_CODE && StringUtils.isBlank(versionCode)) {
List<MenuDTO> noAuthList = new ArrayList<>(1); List<MenuDTO> noAuthList = new ArrayList<>(1);
MenuDTO temp = new MenuDTO(); MenuDTO temp = new MenuDTO();
temp.setMenuId(-1); temp.setMenuId(-1);
......
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