Commit 13c3b771 authored by 赵啸非's avatar 赵啸非

修改登录鉴权时间

parent 1ac9c5d5
......@@ -187,7 +187,7 @@ public class AuthTokenServiceImpl implements IAuthTokenService {
long expireTime = user.getExpireTime();
long currentTime = System.currentTimeMillis();
if (expireTime - currentTime <= SECOND_MINUTE_TEN*1000) {
log.info("不足二十分钟,刷新过期时间");
// log.info("不足二十分钟,刷新过期时间");
refreshToken(user);
}
}
......
......@@ -125,7 +125,7 @@ public class SetupProjectServiceImpl extends AbstractCRUDServiceImpl<SetupProjec
//todo 执行部署脚本
//后端服务,创建service 启动服务
//RuntimeUtil.exec()
log.info("执行deploy shell 脚本 或者构造文件");
log.info("执行deploy shell 脚本 或者构造文件,{}",publicPath+"/bin/");
callScript("deploy.sh","4",publicPath+"/bin/");
} else if (SystemUtil.getOsInfo().isWindows()) {
//todo
......@@ -269,7 +269,7 @@ public class SetupProjectServiceImpl extends AbstractCRUDServiceImpl<SetupProjec
}
input.close();
} catch (Exception e) {
e.printStackTrace();
log.error("执行脚本失败", e);
}
}
......
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