增加 OnlyOffice 集成

This commit is contained in:
zhaojun
2022-08-26 18:16:53 +08:00
parent b29ff1e646
commit e8117c7d3b
8 changed files with 15 additions and 2 deletions

View File

@@ -53,4 +53,7 @@ public class UpdateViewSettingRequest {
@ApiModelProperty(value = "默认文件点击习惯", example = "click")
private FileClickModeEnum fileClickMode;
@ApiModelProperty(value = "onlyOffice 在线预览地址", example = "http://office.zfile.vip")
private String onlyOfficeUrl;
}

View File

@@ -122,5 +122,8 @@ public class SystemConfigDTO {
@ApiModelProperty(value = "最大同时上传文件数", example = "5")
private Integer maxFileUploads;
@ApiModelProperty(value = "onlyOffice 在线预览地址", example = "http://office.zfile.vip")
private String onlyOfficeUrl;
}

View File

@@ -89,4 +89,7 @@ public class SiteConfigResult {
@ApiModelProperty(value = "最大同时上传文件数", example = "5")
private Integer maxFileUploads;
@ApiModelProperty(value = "onlyOffice 在线预览地址", example = "http://office.zfile.vip")
private String onlyOfficeUrl;
}

View File

@@ -29,6 +29,6 @@ spring.profiles.active=prod
# ingroe zfile-pro upgrade sql
spring.flyway.ignore-migration-patterns=V5__.*,V6__.*
spring.flyway.ignore-migration-patterns=V5__.*,V6__.*,V10__.*
# -------------- database config end --------------

View File

@@ -0,0 +1 @@
UPDATE system_config SET value = 'https://office.zfile.vip' WHERE value = 'http://office.zfile.vip';

View File

@@ -0,0 +1 @@
INSERT INTO system_config (`name`, `title`, `value`) VALUES ('onlyOfficeUrl', 'onlineOffice 地址', 'http://office.zfile.vip');

View File

@@ -0,0 +1 @@
UPDATE system_config SET value = 'https://office.zfile.vip' WHERE value = 'http://office.zfile.vip';

View File

@@ -0,0 +1 @@
INSERT INTO system_config (`name`, `title`, `value`) VALUES ('onlyOfficeUrl', 'onlineOffice 地址', 'http://office.zfile.vip');