Commit b510a627 authored by 喻春霖's avatar 喻春霖

fixed

parent fc5c43be
......@@ -187,7 +187,7 @@ public class AuthController {
authLog.setYearMonthDay(yearMonthDay);
Calendar calendar = Calendar.getInstance();
calendar.setTime(now);
authLog.setHour(calendar.get(Calendar.HOUR));
authLog.setHour(calendar.get(Calendar.HOUR_OF_DAY));
authLogService.save(authLog);
response.sendRedirect(loginUrl);
return null;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment