调整排序

This commit is contained in:
jianghanbo 2024-10-15 09:12:25 +08:00
parent ee59ad60ce
commit f910ee03a7
1 changed files with 1 additions and 0 deletions

View File

@ -254,6 +254,7 @@ class Orders {
if (empty(self::$redisPool[$status])) { if (empty(self::$redisPool[$status])) {
self::$redisPool[$status] = Redis::hGetAll('CRM:Pool:' . $status); self::$redisPool[$status] = Redis::hGetAll('CRM:Pool:' . $status);
$users = self::users($thirdProductId); $users = self::users($thirdProductId);
shuffle($users);
$_users = []; $_users = [];
if (empty(self::$redisPool[$status])) { if (empty(self::$redisPool[$status])) {
foreach ($users as $user) { foreach ($users as $user) {