修改git打包功能异常问题
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
+1
-1
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user