This commit is contained in:
parent
41107775a9
commit
a41c2dc0ec
|
@ -47,16 +47,11 @@ class SpiderDy extends Command
|
|||
$us = [];
|
||||
foreach ($users as $u) {
|
||||
$ru = Redis::get('CRM:USER:ONLINE:' . $u->id);
|
||||
if (!config('app.debug', true)) {
|
||||
if (empty($ru)) continue;
|
||||
}
|
||||
//过滤不分配订单的客服用户
|
||||
$isEndWork = Redis::get("CRM:USER:ENDWORK:" . $u->id);
|
||||
if (empty($isEndWork)) {
|
||||
|
||||
$_u = new stdClass();
|
||||
$_u->username = $u->id;
|
||||
$us[] = $_u;
|
||||
}
|
||||
};
|
||||
$this->_users = $us;
|
||||
return $this->_users;
|
||||
|
|
|
@ -48,9 +48,10 @@ class SpiderMt extends Command
|
|||
$us = [];
|
||||
foreach ($users as $u) {
|
||||
$ru = Redis::get('CRM:USER:ONLINE:' . $u->id);
|
||||
if (!config('app.debug', true)) {
|
||||
if (empty($ru)) continue;
|
||||
}
|
||||
/*if (!config('app.debug', true)) {
|
||||
if (empty($ru)) continue;
|
||||
}*/
|
||||
//过滤不分配订单的客服用户
|
||||
/*$isEndWork = Redis::get("CRM:USER:ENDWORK:" . $u->id);
|
||||
if (empty($isEndWork)) {
|
||||
|
|
Loading…
Reference in New Issue