Browse Source

update

master
shenjiachi 6 days ago
parent
commit
447986c960
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      src/implement/user_level_implement.go

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

@@ -52,7 +52,7 @@ func (u UserLevelDb) UserLevelAllByAsc() ([]*model.UserLevel, error) {

func (u UserLevelDb) UserLevelAllByAscByPage(page, limit int) ([]*model.UserLevel, int64, error) {
var m []*model.UserLevel
total, err := u.Db.Where("is_use = ?", 1).Asc("level_weight").FindAndCount(&m)
total, err := u.Db.Asc("level_weight").FindAndCount(&m)
if err != nil {
return nil, 0, zhios_order_relate_logx.Warn(err)
}


Loading…
Cancel
Save