Browse Source

权限

master
huangjiajun 1 day ago
parent
commit
42afd01cad
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      src/implement/permission_group_implement.go

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

@@ -26,7 +26,7 @@ func (p PermissionGroupDb) FindPermissionGroup() (*[]model.PermissionGroup, erro

func (p PermissionGroupDb) FindPermissionGroupV2() (*[]model.PermissionGroup, error) {
var m []model.PermissionGroup
if err := p.Db.OrderBy("sort desc,id asc").Find(&m); err != nil {
if err := p.Db.OrderBy("id asc").Find(&m); err != nil {
return nil, zhios_order_relate_logx.Error(err)
}
return &m, nil


Loading…
Cancel
Save