This commit is contained in:
苏尹岚
2020-12-02 10:20:09 +08:00
parent e4b5efd4eb
commit 65340be4da
4 changed files with 28 additions and 19 deletions

View File

@@ -264,14 +264,14 @@ type GetUserResult struct {
type UserSearch struct {
ModelIDCUL
UserID string `orm:"column(user_id)" json:"userID"` //用户ID
Key string `json:"key"` //搜索关键字
Count int `json:"count"` //搜索次数
UserID string `orm:"column(user_id)" json:"userID"` //用户ID
Keyword string `json:"keyword"` //搜索关键字
Count int `json:"count"` //搜索次数
}
func (v *UserSearch) TableIndex() [][]string {
return [][]string{
[]string{"UserID"},
[]string{"Key"},
[]string{"Keyword"},
}
}