Browse Source

升级

master
huangjiajun 3 weeks ago
parent
commit
62b78625f6
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      rule/user_upgrade.go

+ 1
- 1
rule/user_upgrade.go View File

@@ -16,7 +16,7 @@ func UserUpgradeInsert(eg *xorm.Engine, uid int) error {
user, _ := userDb.GetUser(int64(uid))
level := user.Level
isNext := 0
levelDb := implement.NewUserLevelDb(db.Db)
levelDb := implement.NewUserLevelDb(eg)
levels, _ := levelDb.UserLevelAllByAsc()
for _, v1 := range levels {
if isNext == 1 {


Loading…
Cancel
Save