huangjiajun 1 mese fa
parent
commit
62b78625f6
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. +1
    -1
      rule/user_upgrade.go

+ 1
- 1
rule/user_upgrade.go Vedi 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 {


Caricamento…
Annulla
Salva