调整排序
This commit is contained in:
parent
ee59ad60ce
commit
f910ee03a7
|
@ -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) {
|
||||||
|
|
Loading…
Reference in New Issue