VerificationCodeForRegisterSuffix

pull/148/head
wenxu12345 4 years ago
parent dfdb952e2b
commit 75590eb765

@ -47,7 +47,7 @@ func Verify(c *gin.Context) {
if params.UsedFor == 0 {
params.UsedFor = 1
}
accountKey := account + "_" + constant.VerificationCodeForResetSuffix
accountKey := account + "_" + constant.VerificationCodeForRegisterSuffix
code, err := db.DB.GetAccountCode(accountKey)
log.NewInfo(params.OperationID, "redis phone number and verificating Code", account, code)
if err != nil {

Loading…
Cancel
Save