Compare commits

...

3 Commits

Author SHA1 Message Date
Yoan.liu
5579780b12
Merge pull request #532 from Anbool/main
修复白山云API 400209错误
2025-03-19 09:16:12 +08:00
RHQYZ
984d2a47b8
style: format code 2025-03-18 18:23:46 +08:00
root
92bae0c439 修复白山云API 400209错误 2025-03-18 16:48:19 +08:00
2 changed files with 2 additions and 2 deletions

View File

@ -59,7 +59,7 @@ func (d *DeployerProvider) Deploy(ctx context.Context, certPem string, privkeyPe
// REF: https://portal.baishancloud.com/track/document/api/1/1065
getDomainConfigReq := &bssdk.GetDomainConfigRequest{
Domains: d.config.Domain,
Config: "https",
Config: []string{"https"},
}
getDomainConfigResp, err := d.sdkClient.GetDomainConfig(getDomainConfigReq)
if err != nil {

View File

@ -31,7 +31,7 @@ type CreateCertificateResponse struct {
type GetDomainConfigRequest struct {
Domains string `json:"domains"`
Config string `json:"config"`
Config []string `json:"config"`
}
type GetDomainConfigResponse struct {