diff --git a/app/admin/svc/svc_admin_with_enterprise.go b/app/admin/svc/svc_admin_with_enterprise.go index 1b49c88..70c9a28 100644 --- a/app/admin/svc/svc_admin_with_enterprise.go +++ b/app/admin/svc/svc_admin_with_enterprise.go @@ -14,7 +14,7 @@ func BindAdminWithEnterprise(req md.BindAdminWithEnterpriseReq) (err error) { //1、删除 `admin_with_enterprise` adminWithEnterpriseDb := db.AdminWithEnterpriseDb{} adminWithEnterpriseDb.Set() - _, err = adminWithEnterpriseDb.AdminWithEnterpriseDeleteBySession(session, req.Ids) + _, err = adminWithEnterpriseDb.AdminWithEnterpriseDeleteBySession(session, req.AdmId) if err != nil { _ = session.Rollback() return