分配bug

This commit is contained in:
jianghanbo 2024-08-20 23:45:58 +08:00
parent d95d56d034
commit f7bdf639e5
4 changed files with 3 additions and 6 deletions

View File

@ -79,9 +79,6 @@ class IndexController extends base
->field(['id']) ->field(['id'])
->select(); ->select();
$followMessage = count($followMessageList); $followMessage = count($followMessageList);
if ($request->admin->id == 35) {
Log::info('followMessage:' . json_encode($followMessageList));
}
if ($followMessage) { if ($followMessage) {
$followOrderId = $followMessageList[0]['id']; $followOrderId = $followMessageList[0]['id'];
} }

View File

@ -44,7 +44,7 @@ class SpiderDy extends Command
protected function users($routeType) protected function users($routeType)
{ {
if (count($this->_users) > 0) return $this->_users; // if (count($this->_users) > 0) return $this->_users;
$users = Admins::where('status', 1)->where('is_order', 1)->where('route_type', $routeType)->select(); $users = Admins::where('status', 1)->where('is_order', 1)->where('route_type', $routeType)->select();
$us = []; $us = [];
foreach ($users as $u) { foreach ($users as $u) {

View File

@ -45,7 +45,7 @@ class SpiderMt extends Command
protected function users($routeType) protected function users($routeType)
{ {
if (count($this->_users) > 0) return $this->_users; // if (count($this->_users) > 0) return $this->_users;
$users = Admins::where('status', 1)->where('is_order', 1)->where('route_type', $routeType)->select(); $users = Admins::where('status', 1)->where('is_order', 1)->where('route_type', $routeType)->select();
$us = []; $us = [];
foreach ($users as $u) { foreach ($users as $u) {

View File

@ -98,7 +98,7 @@ class Orders {
case 3: case 3:
case 5: case 5:
$dy = new Douyin($order->os); $dy = new Douyin($order->os);
$it = $dy->get(1, null, null, $order->sn, $order->os); $it = $dy->get(1, null, null, $order->sn);
if ($it) { if ($it) {
$got = $it[0]; $got = $it[0];