|
@@ -87,7 +87,7 @@ class Auth
|
|
/**
|
|
/**
|
|
* 生成不重复的随机数字
|
|
* 生成不重复的随机数字
|
|
*/
|
|
*/
|
|
- function /*6*dfadsf/getUinqueId($length = 8, $ids = [])
|
|
|
|
|
|
+ function getUinqueId($length = 8, $ids = [])
|
|
{
|
|
{
|
|
$newid = Random::build("nozero", $length);
|
|
$newid = Random::build("nozero", $length);
|
|
if (in_array($newid, $ids)) {
|
|
if (in_array($newid, $ids)) {
|