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{