修改git打包功能异常问题

This commit is contained in:
梁琦涛
2024-08-20 16:17:17 +08:00
parent 1ee45229b2
commit f15105d827
5 changed files with 10 additions and 1 deletions
@@ -160,6 +160,9 @@ public class ShiroRealm extends AuthorizingRealm {
redisUtil.set(CommonConstant.PREFIX_USER_TOKEN + token, newAuthorization);
redisUtil.expire(CommonConstant.PREFIX_USER_TOKEN + token, JwtUtil.EXPIRE_TIME);
log.debug("——————————用户在线操作,更新token保证不掉线—————————jwtTokenRefresh——————— "+ token);
}else{
redisUtil.set(CommonConstant.PREFIX_USER_TOKEN + token, cacheToken);
redisUtil.expire(CommonConstant.PREFIX_USER_TOKEN + token, JwtUtil.EXPIRE_TIME / 1000);
}
return true;
}
@@ -1073,7 +1073,7 @@ public class DocumentSplitServiceImpl implements IDocumentSplitService {
try (InputStream in = resource.getInputStream()) {
// 导出文件
filePath = exportExcelTempPath + File.separator + "条款导入模板";
String excelFilePath = filePath + File.separator + "clauseImport.xlsx";
String excelFilePath = filePath + File.separator + "条款导入模板.xlsx";
writeToLocal(excelFilePath, in);
ZipUtil.toZip(filePath, response.getOutputStream(), response, true);
} catch (IOException e) {
@@ -70,6 +70,8 @@ spring:
jackson:
date-format: yyyy-MM-dd HH:mm:ss
time-zone: GMT+8
serialization:
fail-on-empty-beans: false
jpa:
open-in-view: false
activiti:
@@ -70,6 +70,8 @@ spring:
jackson:
date-format: yyyy-MM-dd HH:mm:ss
time-zone: GMT+8
serialization:
fail-on-empty-beans: false
jpa:
open-in-view: false
activiti:
@@ -70,6 +70,8 @@ spring:
jackson:
date-format: yyyy-MM-dd HH:mm:ss
time-zone: GMT+8
serialization:
fail-on-empty-beans: false
jpa:
open-in-view: false
activiti: