|
@@ -32,14 +32,15 @@ func (u User) FillUserInfo(user *TemplateUser) UserView {
|
|
|
}
|
|
|
|
|
|
type UserView struct {
|
|
|
- Id int
|
|
|
- RealName string `description:"姓名"`
|
|
|
- Mobile string `description:"手机号码"`
|
|
|
- FollowingGzh bool
|
|
|
- LastReadTime string
|
|
|
- ReadCount int
|
|
|
- AccountStatus AccountStatus `description:"账号状态"`
|
|
|
- CreatedTime string
|
|
|
+ Id int
|
|
|
+ templateUserId int
|
|
|
+ RealName string `description:"姓名"`
|
|
|
+ Mobile string `description:"手机号码"`
|
|
|
+ FollowingGzh bool
|
|
|
+ LastReadTime string
|
|
|
+ ReadCount int
|
|
|
+ AccountStatus AccountStatus `description:"账号状态"`
|
|
|
+ CreatedTime string
|
|
|
}
|
|
|
|
|
|
func GetPageOfficialUserList(condition string, pars []interface{}, sortStr string, startSize int, pageSize int) (total int, userList []*UserView, err error) {
|