|
|
|
@ -60,8 +60,9 @@ public class CardAccessServiceImpl extends Service implements CardAccessService
|
|
|
|
|
@Override
|
|
|
|
|
public Map<String, Object> hasRight() {
|
|
|
|
|
Map<String, Object> resultMap = new HashMap<>();
|
|
|
|
|
boolean hasRight = HasRightUtil.hasRight(user, RIGHT_NAME, true);
|
|
|
|
|
resultMap.put("hasRight", hasRight);
|
|
|
|
|
//boolean hasRight = HasRightUtil.hasRight(user, RIGHT_NAME, true);
|
|
|
|
|
//脚本未找到该菜单 放开所有
|
|
|
|
|
resultMap.put("hasRight", true);
|
|
|
|
|
return resultMap;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|