This commit is contained in:
苏尹岚
2020-12-01 09:54:53 +08:00
parent 0788bd8e79
commit fd11b0cd83
7 changed files with 93 additions and 4 deletions

View File

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