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 {