aa
This commit is contained in:
@@ -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"},
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user