🎨 优化机器人相关接口
This commit is contained in:
@@ -10,6 +10,8 @@ type Bot struct {
|
||||
global.GVA_MODEL
|
||||
Keyword string `json:"keyword" form:"keyword" gorm:"column:keyword;comment:关键词;" binding:"required"` //关键词
|
||||
Content *string `json:"content" form:"content" gorm:"column:content;comment:内容;type:text;" binding:"required"` //内容
|
||||
// 关联词
|
||||
RelatedWords *string `json:"related_words" form:"related_words" gorm:"column:related_words;comment:关联词;type:text;"` //关联词
|
||||
}
|
||||
|
||||
// TableName 机器人 Bot自定义表名 bots
|
||||
|
Reference in New Issue
Block a user