提交 a6bb87a6 编写于 作者: YYYTDMS's avatar YYYTDMS

Merge branch '105-backend' into dev-backend

......@@ -48,7 +48,7 @@ public class DataController {
Authentication authentication = SecurityContextHolder.getContext().getAuthentication();
Collection set = authentication.getAuthorities();
if (ObjectUtil.isNull(set) || set.size() == 0) {
return Result.fail("无权限");
return Result.fail("无权限!");
}
Map<String, Object> result = new HashMap<>();
......@@ -81,7 +81,7 @@ public class DataController {
Authentication authentication = SecurityContextHolder.getContext().getAuthentication();
Collection set = authentication.getAuthorities();
if (ObjectUtil.isNull(set) || set.size() == 0) {
return Result.fail("无权限");
return Result.fail("无权限!");
}
Map<String, Object> result = new HashMap<>();
int num = 0;
......@@ -109,7 +109,7 @@ public class DataController {
Authentication authentication = SecurityContextHolder.getContext().getAuthentication();
Collection set = authentication.getAuthorities();
if (ObjectUtil.isNull(set) || set.size() == 0) {
return Result.fail("无权限");
return Result.fail("无权限! ");
}
Map<String, Object> result = new HashMap<>();
Set<String> areaKeys = redisUtils.keys("sys:area:" + "*");
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册