This commit is contained in:
xiangwbs
2018-03-20 22:48:30 +08:00
parent 4707718692
commit 608e2288c3
2 changed files with 2 additions and 2 deletions
@@ -50,7 +50,7 @@ public class DruidDataSourceConfig {
try {
dataSource.setFilters(druidDataSourceModel.getFilters());
} catch (SQLException e) {
logger.error("获取druid数据源异常");
logger.error("配置druid过滤器异常");
}
return dataSource;
}
@@ -54,7 +54,7 @@ public class LoginInterceptor extends HandlerInterceptorAdapter {
if (CommonDataUtil.getToken(CommonConstant.CURRENT_USER) != null) {
return true;
} else {
logger.info("用户未登录");
logger.error("用户未登录");
OutputStream outputStream = response.getOutputStream();
RestMessage restMessage = new RestMessage();
restMessage.setMessage("请先登录");