Browse Source

update

add_mode
DengBiao 1 year ago
parent
commit
5504b0c61e
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      app/admin/svc/svc_enterprise.go

+ 1
- 1
app/admin/svc/svc_enterprise.go View File

@@ -9,7 +9,7 @@ import (

func EnterpriseList(admin model.Admin, req md.EnterpriseListReq) (m []model.Enterprise, total int64, err error) {
sess := db.Db.Desc("id")
if admin.IsSuperAdministrator == enum2.IsSuperAdministratorTure {
if admin.IsSuperAdministrator != enum2.IsSuperAdministratorTure {
adminWithEnterpriseDb := db.AdminWithEnterpriseDb{}
adminWithEnterpriseDb.Set()
adminWithEnterprise, err1 := adminWithEnterpriseDb.FindAdminWithEnterprise(admin.AdmId)


Loading…
Cancel
Save