【新增】【部署】七牛云CND/对象存储

This commit is contained in:
wantoper
2025-05-21 10:37:46 +08:00
parent 77d82ad8a0
commit eb302776a8
4 changed files with 132 additions and 59 deletions

View File

@@ -55,6 +55,12 @@ func Deploy(cfg map[string]any, logger *public.Logger) error {
case "localhost":
logger.Debug("部署到本地...")
return DeployLocalhost(cfg)
case "qiniu-cdn":
logger.Debug("部署到七牛云CDN...")
return DeployQiniuCdn(cfg)
case "qiniu-oss":
logger.Debug("部署到七牛云OSS...")
return DeployQiniuOss(cfg)
default:
return fmt.Errorf("不支持的部署: %s", providerName)
}