mirror of
https://gitee.com/samwaf/SamWaf.git
synced 2026-10-31 10:11:42 +08:00
12 lines
436 B
Go
12 lines
436 B
Go
package model
|
|
|
|
import "SamWaf/model/baseorm"
|
|
|
|
type Sensitive struct {
|
|
baseorm.BaseOrm
|
|
CheckDirection string `gorm:"size:50" json:"check_direction"` //敏感词检测方向 in ,out ,all
|
|
Action string `gorm:"size:50" json:"action"` //敏感词检测后动作 deny,replace
|
|
Content string `gorm:"type:text" json:"content"` //内容
|
|
Remarks string `gorm:"size:500" json:"remarks"` //备注
|
|
}
|