根据线路分配客服
This commit is contained in:
parent
2acaacb420
commit
24c32ad819
|
@ -63,6 +63,8 @@ class SpiderDy extends Command
|
|||
|
||||
protected function poolUser($status = 0, $categoryDesc = '')
|
||||
{
|
||||
$routeType = AdminController::ROUTE_LISTS[mb_substr($categoryDesc, 0, 2)] ?? 10;
|
||||
$status .= $routeType;
|
||||
if (empty($this->_redis_pool[$status])) {
|
||||
$this->_redis_pool[$status] = Redis::hGetAll('CRM:Pool:' . $status);
|
||||
$routeType = AdminController::ROUTE_LISTS[mb_substr($categoryDesc, 0, 2)] ?? 10;
|
||||
|
|
|
@ -87,9 +87,10 @@ class SpiderMt extends Command
|
|||
|
||||
protected function poolUser($status = 0, $categoryDesc = '')
|
||||
{
|
||||
$routeType = AdminController::ROUTE_LISTS[mb_substr($categoryDesc, 0, 2)] ?? 10;
|
||||
$status .= $routeType;
|
||||
if (empty($this->_redis_pool[$status])) {
|
||||
$this->_redis_pool[$status] = Redis::hGetAll('CRM:Pool:' . $status);
|
||||
$routeType = AdminController::ROUTE_LISTS[mb_substr($categoryDesc, 0, 2)] ?? 10;
|
||||
$users = $this->users($routeType);
|
||||
$_users = [];
|
||||
if (empty($this->_redis_pool[$status])) {
|
||||
|
|
Loading…
Reference in New Issue