|
@ -44,6 +44,11 @@ public class ExpirationDateFilter implements Filter { |
|
|
throws IOException, ServletException { |
|
|
throws IOException, ServletException { |
|
|
response.setCharacterEncoding(Constants.UTF8); |
|
|
response.setCharacterEncoding(Constants.UTF8); |
|
|
response.setContentType("application/json;charset=UTF-8"); |
|
|
response.setContentType("application/json;charset=UTF-8"); |
|
|
|
|
|
if(!projectConfig.isValidityVerification()){// |
|
|
|
|
|
// 放行 |
|
|
|
|
|
chain.doFilter(request, response); |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
DateTime startDate = DateUtil.parse(projectConfig.getAuthStartDate()); |
|
|
DateTime startDate = DateUtil.parse(projectConfig.getAuthStartDate()); |
|
|
int compare = DateUtil.compare(new Date(), startDate); |
|
|
int compare = DateUtil.compare(new Date(), startDate); |
|
|
|
|
|
|
|
|