新增新个人和企业司法
This commit is contained in:
@@ -32,6 +32,7 @@ func ValidatePhoneNumber(phone string) error {
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func ValidateVerifyCode(redisClient *redis.Redis, phone, code string) error {
|
||||
// 从 Redis 获取验证码
|
||||
savedCode, err := redisClient.Get(phone)
|
||||
|
||||
Reference in New Issue
Block a user