mirror of
https://github.com/zfile-dev/zfile.git
synced 2025-04-19 05:34:52 +00:00
✨ 增加 OnlyOffice 集成
This commit is contained in:
@@ -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;
|
||||
|
||||
}
|
||||
@@ -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;
|
||||
|
||||
}
|
||||
@@ -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;
|
||||
|
||||
}
|
||||
@@ -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 --------------
|
||||
@@ -0,0 +1 @@
|
||||
UPDATE system_config SET value = 'https://office.zfile.vip' WHERE value = 'http://office.zfile.vip';
|
||||
@@ -0,0 +1 @@
|
||||
INSERT INTO system_config (`name`, `title`, `value`) VALUES ('onlyOfficeUrl', 'onlineOffice 地址', 'http://office.zfile.vip');
|
||||
@@ -0,0 +1 @@
|
||||
UPDATE system_config SET value = 'https://office.zfile.vip' WHERE value = 'http://office.zfile.vip';
|
||||
@@ -0,0 +1 @@
|
||||
INSERT INTO system_config (`name`, `title`, `value`) VALUES ('onlyOfficeUrl', 'onlineOffice 地址', 'http://office.zfile.vip');
|
||||
Reference in New Issue
Block a user