修改敏感词过滤代码结构
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
package model
|
||||
|
||||
type SensitiveWords struct {
|
||||
ID int `orm:"column(id)" json:"id"`
|
||||
Words string `orm:"size(30);column(words);unique" json:"words"`
|
||||
type SensitiveWord struct {
|
||||
ModelIDCULD
|
||||
VendorID int `orm:"column(vendor_id)" json:"vendorID"`
|
||||
Word string `orm:"size(30);unique" json:"word"`
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user