feat:OSS切换

This commit is contained in:
苏竹红
2025-04-16 11:30:18 +08:00
parent f9b6f72d92
commit 2a8a8dffb2
2 changed files with 5 additions and 1 deletions

View File

@@ -66,7 +66,7 @@ public class OpenApiValidateFilter implements Filter {
long currentTime = System.currentTimeMillis()/1000;
long timeDiff = Math.abs(currentTime - timestamp);
if (timeDiff > 300) {
if (timeDiff > 600) {
log.info("OpenApiValidateFilter==>{}","请求已过期,服务器时间:" + currentTime + " 请求时间:" + timestamp);
throw new ServiceException(ErrorCodeEnum.SIGN_FAIL);
}