修改部署到腾讯云cos,bucket参数获取

pull/79/head^2
zhangchenhao 2025-05-16 12:59:26 +08:00
parent 4ce8627193
commit 98642c72da
2 changed files with 18 additions and 18 deletions

View File

@ -111,7 +111,7 @@ func DeployToTX(cfg map[string]any) error {
if !ok {
return fmt.Errorf("参数错误region")
}
bucket, ok := cfg["domain"].(string)
bucket, ok := cfg["bucket"].(string)
if !ok {
return fmt.Errorf("参数错误bucket")
}