新增新个人和企业司法

This commit is contained in:
2025-03-18 22:07:42 +08:00
parent 30ef77f90c
commit d5200d00c9
12 changed files with 393 additions and 4 deletions

View File

@@ -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)