feat: new deployment provider: wangsu cdn

This commit is contained in:
Fu Diwei
2025-05-20 11:32:57 +08:00
parent e6fc92eccb
commit 7a663d31cb
15 changed files with 428 additions and 16 deletions

View File

@@ -0,0 +1,26 @@
package cdn
import (
"github.com/usual2970/certimate/internal/pkg/sdk3rd/wangsu/openapi"
)
type baseResponse struct {
RequestId *string `json:"requestId,omitempty"`
Code *string `json:"code,omitempty"`
Message *string `json:"message,omitempty"`
}
var _ openapi.Result = (*baseResponse)(nil)
func (r *baseResponse) SetRequestId(requestId string) {
r.RequestId = &requestId
}
type BatchUpdateCertificateConfigRequest struct {
CertificateId int64 `json:"certificateId" required:"true"`
DomainNames []string `json:"domainNames" required:"true"`
}
type BatchUpdateCertificateConfigResponse struct {
baseResponse
}