mirror of
https://gitee.com/mirrors/AllinSSL.git
synced 2026-03-08 15:51:11 +08:00
【新增】【部署】七牛云CND/对象存储
This commit is contained in:
@@ -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)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user