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"