mirror of
https://github.com/TeaOSLab/EdgeNode.git
synced 2026-01-05 23:35:48 +08:00
实现新的CC
This commit is contained in:
@@ -25,4 +25,7 @@ type Request interface {
|
||||
|
||||
// WAFServerId 服务ID
|
||||
WAFServerId() int64
|
||||
|
||||
// Format 格式化变量
|
||||
Format(string) string
|
||||
}
|
||||
|
||||
@@ -65,3 +65,7 @@ func (this *TestRequest) WAFRestoreBody(data []byte) {
|
||||
func (this *TestRequest) WAFServerId() int64 {
|
||||
return 0
|
||||
}
|
||||
|
||||
func (this *TestRequest) Format(s string) string {
|
||||
return s
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user