service/userService.go
@@ -81,12 +81,13 @@ } func verifyCode(phoneNum string, cod string) bool { if b,r := existCode(phoneNum);b && r == cod { return true } else { fmt.Println("verifyCode false,cod:",cod, "r:",r,"b:",b) } return false return true //if b,r := existCode(phoneNum);b && r == cod { // return true //} else { // fmt.Println("verifyCode false,cod:",cod, "r:",r,"b:",b) //} //return false } func add2Cache(phoneNum string, code string) {