书籍列表接口新增参数
This commit is contained in:
@ -11,14 +11,16 @@ import (
|
||||
|
||||
// Users is the golang structure of table users for DAO operations like Where/Data.
|
||||
type Users struct {
|
||||
g.Meta `orm:"table:users, do:true"`
|
||||
Id interface{} // 用户ID
|
||||
Username interface{} // 用户名
|
||||
PasswordHash interface{} // 密码哈希
|
||||
Avatar interface{} // 头像URL
|
||||
Email interface{} // 邮箱
|
||||
Points interface{} // 积分
|
||||
CreatedAt *gtime.Time // 注册时间
|
||||
UpdatedAt *gtime.Time // 更新时间
|
||||
DeletedAt *gtime.Time // 软删除时间戳
|
||||
g.Meta `orm:"table:users, do:true"`
|
||||
Id interface{} // 用户ID
|
||||
Username interface{} // 用户名
|
||||
PasswordHash interface{} // 密码哈希
|
||||
Avatar interface{} // 头像URL
|
||||
Email interface{} // 邮箱
|
||||
Points interface{} // 积分
|
||||
CreatedAt *gtime.Time // 注册时间
|
||||
UpdatedAt *gtime.Time // 更新时间
|
||||
DeletedAt *gtime.Time // 软删除时间戳
|
||||
BackgroundUrl interface{} // 作者背景图
|
||||
AttentionCount interface{} // 关注他人的数量 attention count
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user