Commit c0514f8a by naan1993

兼容1.7

parent 0bd75f93
......@@ -21,9 +21,9 @@ import java.util.TimerTask;
*/
public class LogTaskFactory {
private static Logger logger = Logger.getLogger(LogManager.class);
private static LoginLogMapper loginLogMapper = Db.getMapper(LoginLogMapper.class);
private static OperationLogMapper operationLogMapper = Db.getMapper(OperationLogMapper.class);
private static final Logger logger = Logger.getLogger(LogManager.class);
private static final LoginLogMapper loginLogMapper = Db.getMapper(LoginLogMapper.class);
private static final OperationLogMapper operationLogMapper = Db.getMapper(OperationLogMapper.class);
public static TimerTask loginLog(Integer userId, String ip) {
return new TimerTask() {
......
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