diff --git a/app/svc/member_center/svc_certificate.go b/app/svc/member_center/svc_certificate.go index b95a6d4..f1da8b5 100644 --- a/app/svc/member_center/svc_certificate.go +++ b/app/svc/member_center/svc_certificate.go @@ -38,7 +38,7 @@ func CertificateList(c *gin.Context) { for _, v := range *notice { NewUserDb := implement.NewUserDb(db.Db) user, _ := NewUserDb.UserGetOneByParams(map[string]interface{}{ - "key": "id", + "key": "phone", "value": req.Phone, }) phone := ""