【fix sonar】BaseCommonServiceImpl文件
This commit is contained in:
+1
-1
@@ -64,7 +64,7 @@ public class BaseCommonServiceImpl implements BaseCommonService {
|
|||||||
try {
|
try {
|
||||||
user = (LoginUser) SecurityUtils.getSubject().getPrincipal();
|
user = (LoginUser) SecurityUtils.getSubject().getPrincipal();
|
||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
//e.printStackTrace();
|
log.error("异常",e.getMessage());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if(user!=null){
|
if(user!=null){
|
||||||
|
|||||||
Reference in New Issue
Block a user