From 8223795f223abb33eb62042311aecacb4a96f2b5 Mon Sep 17 00:00:00 2001 From: huangjiajun <582604932@qq.com> Date: Fri, 13 Dec 2024 11:57:40 +0800 Subject: [PATCH] =?UTF-8?q?=E7=9F=AD=E5=89=A7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/hdl/website/hdl_website.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/hdl/website/hdl_website.go b/app/hdl/website/hdl_website.go index a40a11e..27bdab2 100644 --- a/app/hdl/website/hdl_website.go +++ b/app/hdl/website/hdl_website.go @@ -104,7 +104,7 @@ func Certificate(c *gin.Context) { NewUserCertificateDb := implement.NewUserCertificateDb(db.Db) data, _ := NewUserCertificateDb.GetUserCertificateByNo(req.No) if data == nil { - e.OutErr(c, 400, e.NewErr(400, "查询不到该证书")) + e.OutSuc(c, "", nil) return } resp := md.CertificateResp{