DengBiao 1 anno fa
parent
commit
5504b0c61e
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. +1
    -1
      app/admin/svc/svc_enterprise.go

+ 1
- 1
app/admin/svc/svc_enterprise.go Vedi 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)


Caricamento…
Annulla
Salva