1
This commit is contained in:
@@ -116,7 +116,7 @@ func GetUsers(db *DaoDB, userType int, keyword, popUser string, userIDs, userID2
|
||||
|
||||
func GetUsers2(db *DaoDB, keyword string, userID string, pop int, mobile string, fromTime, toTime time.Time, timeType int, cityCodes, consumeTypes []int, offset, pageSize int) (pageInfo *model.PagedInfo, err error) {
|
||||
var (
|
||||
userList []*model.User
|
||||
userList []*model.UserBalance
|
||||
)
|
||||
offset = jxutils.FormalizePageOffset(offset)
|
||||
pageSize = jxutils.FormalizePageSize(pageSize)
|
||||
|
||||
@@ -62,7 +62,11 @@ type User struct {
|
||||
PopCount int `json:"popCount"` //推荐人数
|
||||
PopFlag int `json:"popFlag"` //是否已通过推荐获得免费会员
|
||||
PopedFlag int `json:"popedFlag"` //被邀请标志(弹框)
|
||||
AccountBalance int64 `json:"-"` // 银行余额
|
||||
}
|
||||
|
||||
type UserBalance struct {
|
||||
User
|
||||
AccountBalance int64 `json:"account_balance"` // 银行余额
|
||||
}
|
||||
|
||||
func (*User) TableUnique() [][]string {
|
||||
|
||||
Reference in New Issue
Block a user