From 6960f7f6e8c446aa63f5f7d9cfa8d8b2f4af2d97 Mon Sep 17 00:00:00 2001 From: DengBiao <2319963317@qq.com> Date: Mon, 16 Oct 2023 18:56:09 +0800 Subject: [PATCH] 1 --- .../hdl/enterprise_manage/hdl_self_support_for_school.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/app/admin/hdl/enterprise_manage/hdl_self_support_for_school.go b/app/admin/hdl/enterprise_manage/hdl_self_support_for_school.go index 9bf3701..d73295b 100644 --- a/app/admin/hdl/enterprise_manage/hdl_self_support_for_school.go +++ b/app/admin/hdl/enterprise_manage/hdl_self_support_for_school.go @@ -1133,6 +1133,10 @@ func SelfSupportForSchoolBlackList(c *gin.Context) { e.OutErr(c, e.ERR_DB_ORM, err.Error()) return } + if info == nil { + e.OutErr(c, e.ERR, "当前学校暂未完成《一脸通行入驻》") + return + } err, resp := svc.CurlAlipayPlanetEcocampusApiRosterPageQueryBlackList(md2.CurlAlipayPlanetEcocampusApiRosterPageQueryBlackList{ SchoolCode: info.SchoolCode,