mirror of
https://github.com/1Panel-dev/1Panel.git
synced 2025-11-18 14:50:35 +08:00
13 lines
403 B
Go
13 lines
403 B
Go
package request
|
|
|
|
type WebsiteWafReq struct {
|
|
WebsiteID uint `json:"websiteId" validate:"required"`
|
|
Key string `json:"key" validate:"required"`
|
|
Rule string `json:"rule" validate:"required"`
|
|
}
|
|
|
|
type WebsiteWafUpdate struct {
|
|
WebsiteID uint `json:"websiteId" validate:"required"`
|
|
Key string `json:"key" validate:"required"`
|
|
Enable bool `json:"enable" validate:"required"`
|
|
}
|