From cb5b99f0f99534e0fb3c1ad136b46898b10537c9 Mon Sep 17 00:00:00 2001 From: huangjiajun <582604932@qq.com> Date: Thu, 12 Dec 2024 19:24:49 +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 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/svc/member_center/svc_certificate.go b/app/svc/member_center/svc_certificate.go index f1da8b5..990136d 100644 --- a/app/svc/member_center/svc_certificate.go +++ b/app/svc/member_center/svc_certificate.go @@ -38,8 +38,8 @@ func CertificateList(c *gin.Context) { for _, v := range *notice { NewUserDb := implement.NewUserDb(db.Db) user, _ := NewUserDb.UserGetOneByParams(map[string]interface{}{ - "key": "phone", - "value": req.Phone, + "key": "id", + "value": v.Uid, }) phone := "" if user != nil {