bug修复
This commit is contained in:
+6
-1
@@ -84,10 +84,15 @@ public class MsVideoConferenceController extends BaseController {
|
||||
caseAttach = MsCaseAttach.builder()
|
||||
.caseAppliId(caseId)
|
||||
.annexName(jsonObject.getString("fileName"))
|
||||
.annexPath(jsonObject.getString("filePath"))
|
||||
.annexType(annexType)
|
||||
.onlyOfficeFileId(jsonObject.getString("fileId"))
|
||||
.build();
|
||||
if(jsonObject.get("filePath")!=null){
|
||||
String officePath = jsonObject.getString("filePath");
|
||||
String replace = officePath.replace("/home/ruoyi/uploadPath/", "/profile/");
|
||||
caseAttach.setAnnexPath(replace);
|
||||
|
||||
}
|
||||
msCaseAttachMapper.save(caseAttach);
|
||||
}
|
||||
if(caseAttach==null){
|
||||
|
||||
@@ -120,7 +120,7 @@ token:
|
||||
header: Authorization
|
||||
# 令牌密钥
|
||||
secret: abcdefghijklmnopqrstuvwxyz
|
||||
# 令牌有效期(默认120分钟)
|
||||
# 令牌有效期(默认30分钟)
|
||||
expireTime: 120
|
||||
|
||||
# MyBatis配置
|
||||
|
||||
Reference in New Issue
Block a user