mirror of
https://github.com/usual2970/certimate.git
synced 2025-07-05 02:30:00 +00:00
Compare commits
3 Commits
65b199d392
...
5579780b12
Author | SHA1 | Date | |
---|---|---|---|
![]() |
5579780b12 | ||
![]() |
984d2a47b8 | ||
![]() |
92bae0c439 |
@ -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 {
|
||||
|
2
internal/pkg/vendors/baishan-sdk/models.go
vendored
2
internal/pkg/vendors/baishan-sdk/models.go
vendored
@ -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 {
|
||||
|
Loading…
x
Reference in New Issue
Block a user