From 2217bc5230a0b57e298f66fbe43592b864ea83be Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=A2=81=E6=96=87=E6=9D=B0?= <1139629972@qq.com> Date: Fri, 7 Jul 2023 14:52:53 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E9=94=99=E8=AF=AF=E6=8F=90=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- internal/app/api/v1/ens.go | 1 + 1 file changed, 1 insertion(+) diff --git a/internal/app/api/v1/ens.go b/internal/app/api/v1/ens.go index 4741d87..586f6af 100644 --- a/internal/app/api/v1/ens.go +++ b/internal/app/api/v1/ens.go @@ -8,6 +8,7 @@ import ( func GetEnsRecords(c *gin.Context) { if list, err := service.GetEnsRecords(c, c.Param("q")); err != nil { + response.Fail(c) } else { response.OkWithData(list, c) }