|
@@ -144,6 +144,15 @@ func (s *webForwardingService) GetWebForwarding(ctx context.Context, req v1.GetF
|
|
|
BackendList: backend.BackendList,
|
|
|
HttpsKey: webForwarding.HttpsKey,
|
|
|
HttpsCert: webForwarding.HttpsCert,
|
|
|
+ Proxy: webForwarding.Proxy,
|
|
|
+ CcConfig: v1.CcConfigRequest{
|
|
|
+ IsOn: webForwarding.Cc,
|
|
|
+ ThresholdMethod: webForwarding.ThresholdMethod,
|
|
|
+ Level: webForwarding.Level,
|
|
|
+ Limit5s: webForwarding.Limit5s,
|
|
|
+ Limit60s: webForwarding.Limit60s,
|
|
|
+ Limit300s: webForwarding.Limit300s,
|
|
|
+ },
|
|
|
}, nil
|
|
|
}
|
|
|
|
|
@@ -906,6 +915,15 @@ func (s *webForwardingService) GetWebForwardingWafWebAllIps(ctx context.Context,
|
|
|
Comment: res.Forwarding.Comment,
|
|
|
HttpsKey: res.Forwarding.HttpsKey,
|
|
|
HttpsCert: res.Forwarding.HttpsCert,
|
|
|
+ Proxy: res.Forwarding.Proxy,
|
|
|
+ CcConfig: v1.CcConfigRequest{
|
|
|
+ IsOn: res.Forwarding.Cc,
|
|
|
+ ThresholdMethod: res.Forwarding.ThresholdMethod,
|
|
|
+ Level: res.Forwarding.Level,
|
|
|
+ Limit5s: res.Forwarding.Limit5s,
|
|
|
+ Limit60s: res.Forwarding.Limit60s,
|
|
|
+ Limit300s: res.Forwarding.Limit300s,
|
|
|
+ },
|
|
|
}
|
|
|
|
|
|
if res.BackendRule != nil { // 只有当 BackendRule 存在时才填充相关字段
|