Browse Source

update

master
shenjiachi 3 weeks ago
parent
commit
e6bf4d057f
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      src/implement/user_implement.go

+ 1
- 1
src/implement/user_implement.go View File

@@ -132,7 +132,7 @@ func (u UserDb) UserFindAndCount(uid int64, phone string, nickname string, level
var m []model.User
session := u.Db.Where("")
if uid != 0 {
session = session.Where("uid=?", uid)
session = session.Where("id=?", uid)
}
if phone != "" {
session = session.Where("phone = ?", phone)


Loading…
Cancel
Save