短信码验证
This commit is contained in:
@@ -880,7 +880,7 @@ function generateRandom($num = 0)
|
||||
}
|
||||
return $str;
|
||||
}
|
||||
function generateRandoms($length = 4)
|
||||
function generateRandoms($length = 6)
|
||||
{
|
||||
$min = pow(10, $length - 1);
|
||||
$max = pow(10, $length) - 1;
|
||||
|
||||
Reference in New Issue
Block a user