修改git打包功能异常问题
This commit is contained in:
@@ -160,6 +160,9 @@ public class ShiroRealm extends AuthorizingRealm {
|
|||||||
redisUtil.set(CommonConstant.PREFIX_USER_TOKEN + token, newAuthorization);
|
redisUtil.set(CommonConstant.PREFIX_USER_TOKEN + token, newAuthorization);
|
||||||
redisUtil.expire(CommonConstant.PREFIX_USER_TOKEN + token, JwtUtil.EXPIRE_TIME);
|
redisUtil.expire(CommonConstant.PREFIX_USER_TOKEN + token, JwtUtil.EXPIRE_TIME);
|
||||||
log.debug("——————————用户在线操作,更新token保证不掉线—————————jwtTokenRefresh——————— "+ token);
|
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;
|
return true;
|
||||||
}
|
}
|
||||||
|
|||||||
+1
-1
@@ -1073,7 +1073,7 @@ public class DocumentSplitServiceImpl implements IDocumentSplitService {
|
|||||||
try (InputStream in = resource.getInputStream()) {
|
try (InputStream in = resource.getInputStream()) {
|
||||||
// 导出文件
|
// 导出文件
|
||||||
filePath = exportExcelTempPath + File.separator + "条款导入模板";
|
filePath = exportExcelTempPath + File.separator + "条款导入模板";
|
||||||
String excelFilePath = filePath + File.separator + "clauseImport.xlsx";
|
String excelFilePath = filePath + File.separator + "条款导入模板.xlsx";
|
||||||
writeToLocal(excelFilePath, in);
|
writeToLocal(excelFilePath, in);
|
||||||
ZipUtil.toZip(filePath, response.getOutputStream(), response, true);
|
ZipUtil.toZip(filePath, response.getOutputStream(), response, true);
|
||||||
} catch (IOException e) {
|
} catch (IOException e) {
|
||||||
|
|||||||
@@ -70,6 +70,8 @@ spring:
|
|||||||
jackson:
|
jackson:
|
||||||
date-format: yyyy-MM-dd HH:mm:ss
|
date-format: yyyy-MM-dd HH:mm:ss
|
||||||
time-zone: GMT+8
|
time-zone: GMT+8
|
||||||
|
serialization:
|
||||||
|
fail-on-empty-beans: false
|
||||||
jpa:
|
jpa:
|
||||||
open-in-view: false
|
open-in-view: false
|
||||||
activiti:
|
activiti:
|
||||||
|
|||||||
@@ -70,6 +70,8 @@ spring:
|
|||||||
jackson:
|
jackson:
|
||||||
date-format: yyyy-MM-dd HH:mm:ss
|
date-format: yyyy-MM-dd HH:mm:ss
|
||||||
time-zone: GMT+8
|
time-zone: GMT+8
|
||||||
|
serialization:
|
||||||
|
fail-on-empty-beans: false
|
||||||
jpa:
|
jpa:
|
||||||
open-in-view: false
|
open-in-view: false
|
||||||
activiti:
|
activiti:
|
||||||
|
|||||||
@@ -70,6 +70,8 @@ spring:
|
|||||||
jackson:
|
jackson:
|
||||||
date-format: yyyy-MM-dd HH:mm:ss
|
date-format: yyyy-MM-dd HH:mm:ss
|
||||||
time-zone: GMT+8
|
time-zone: GMT+8
|
||||||
|
serialization:
|
||||||
|
fail-on-empty-beans: false
|
||||||
jpa:
|
jpa:
|
||||||
open-in-view: false
|
open-in-view: false
|
||||||
activiti:
|
activiti:
|
||||||
|
|||||||
Reference in New Issue
Block a user