|
@@ -21,7 +21,7 @@ func CertificateList(c *gin.Context) { |
|
|
if req.Phone != "" { |
|
|
if req.Phone != "" { |
|
|
NewUserDb := implement.NewUserDb(db.Db) |
|
|
NewUserDb := implement.NewUserDb(db.Db) |
|
|
user, _ := NewUserDb.UserGetOneByParams(map[string]interface{}{ |
|
|
user, _ := NewUserDb.UserGetOneByParams(map[string]interface{}{ |
|
|
"key": "id", |
|
|
|
|
|
|
|
|
"key": "phone", |
|
|
"value": req.Phone, |
|
|
"value": req.Phone, |
|
|
}) |
|
|
}) |
|
|
req.Uid = "0" |
|
|
req.Uid = "0" |
|
|