From 91c1242bf4cc05787e784dbe99e623f9e0e851d0 Mon Sep 17 00:00:00 2001 From: huangjiajun <582604932@qq.com> Date: Wed, 11 Dec 2024 20:58:42 +0800 Subject: [PATCH] =?UTF-8?q?=E8=AF=81=E4=B9=A6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/svc/member_center/svc_certificate.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/svc/member_center/svc_certificate.go b/app/svc/member_center/svc_certificate.go index 0f031dd..b95a6d4 100644 --- a/app/svc/member_center/svc_certificate.go +++ b/app/svc/member_center/svc_certificate.go @@ -21,7 +21,7 @@ func CertificateList(c *gin.Context) { if req.Phone != "" { NewUserDb := implement.NewUserDb(db.Db) user, _ := NewUserDb.UserGetOneByParams(map[string]interface{}{ - "key": "id", + "key": "phone", "value": req.Phone, }) req.Uid = "0"