【fix sonar】SysBaseApiImpl文件
This commit is contained in:
+2
-2
@@ -712,7 +712,7 @@ public class SysBaseApiImpl implements ISysBaseAPI {
|
||||
JSONObject obj = new JSONObject();
|
||||
obj.put(WebsocketConst.MSG_CMD, WebsocketConst.CMD_SIGN);
|
||||
obj.put(WebsocketConst.MSG_USER_ID,userId);
|
||||
//TODO 目前全部推送,后面修改
|
||||
// TODO 目前全部推送,后面修改
|
||||
webSocket.sendMessage(obj.toJSONString());
|
||||
}
|
||||
|
||||
@@ -800,7 +800,7 @@ public class SysBaseApiImpl implements ISysBaseAPI {
|
||||
Set<String> permissionSet = new HashSet<>();
|
||||
List<SysPermission> permissionList = sysPermissionMapper.queryByUser(username);
|
||||
for (SysPermission po : permissionList) {
|
||||
// // TODO URL规则有问题?
|
||||
// // todo URL规则有问题?
|
||||
// if (oConvertUtils.isNotEmpty(po.getUrl())) {
|
||||
// permissionSet.add(po.getUrl());
|
||||
// }
|
||||
|
||||
Reference in New Issue
Block a user