...
|
...
|
@@ -893,7 +893,7 @@ class Update extends Api |
|
|
$UserArray = Db::name('user')->field('nickname')->order('id desc')->page(1, 50)->select();
|
|
|
$NickNameArray = array_column($UserArray, 'nickname');
|
|
|
if(count($NickNameArray)<30){
|
|
|
$rand_list = array_rand($NickNameArray), count($NickNameArray));
|
|
|
$rand_list = array_rand($NickNameArray, count($NickNameArray));
|
|
|
}else{
|
|
|
$rand_list = array_rand($NickNameArray, 30);
|
|
|
}
|
...
|
...
|
|