diff --git a/server/utils/upload/upload.go b/server/utils/upload/upload.go index 77cd42ce..e71af0e5 100644 --- a/server/utils/upload/upload.go +++ b/server/utils/upload/upload.go @@ -30,7 +30,7 @@ func NewOss() OSS { return &Qiniu{} case "tencent-cos": return &TencentCOS{} - case "aliyun-cos": + case "aliyun-oss": return &AliyunOSS{} default: return &Local{} diff --git a/web/src/view/systemTools/system/system.vue b/web/src/view/systemTools/system/system.vue index 0591b17f..bdefb59f 100644 --- a/web/src/view/systemTools/system/system.vue +++ b/web/src/view/systemTools/system/system.vue @@ -21,6 +21,8 @@ + + @@ -256,6 +258,45 @@ 开启 + + + @@ -282,6 +323,8 @@ export default { sqlite: {}, redis: {}, qiniu: {}, + tencentCOS:{}, + aliyunOSS:{}, captcha: {}, zap: {}, local: {},