|
@@ -215,6 +215,9 @@ func (s *aidedWebService) PrepareWafData(ctx context.Context, req *v1.WebForward
|
|
|
if err != nil {
|
|
|
return RequireResponse{}, v1.Website{}, err // 错误信息在辅助函数中已经包装好了
|
|
|
}
|
|
|
+
|
|
|
+ req.WebForwardingData.SslPolicyId = byteData.SslPolicyRef.SslPolicyId
|
|
|
+
|
|
|
type serverNames struct {
|
|
|
ServerNames string `json:"name" form:"name"`
|
|
|
Type string `json:"type" form:"type"`
|
|
@@ -1042,7 +1045,7 @@ func (s *aidedWebService) ProcessSSLCertificateUpdate(ctx context.Context, req *
|
|
|
err := s.ProcessSSLCertificate(ctx, req, require, v1.Website{
|
|
|
HttpJSON: v1.TypeJSON{
|
|
|
SslPolicyRef: v1.SslPolicyRef{
|
|
|
- SslPolicyId: int64(oldData.SslPolicyId),
|
|
|
+ SslPolicyId: req.WebForwardingData.SslPolicyId,
|
|
|
},
|
|
|
},
|
|
|
})
|