分配bug
This commit is contained in:
parent
d95d56d034
commit
f7bdf639e5
|
@ -79,9 +79,6 @@ class IndexController extends base
|
|||
->field(['id'])
|
||||
->select();
|
||||
$followMessage = count($followMessageList);
|
||||
if ($request->admin->id == 35) {
|
||||
Log::info('followMessage:' . json_encode($followMessageList));
|
||||
}
|
||||
if ($followMessage) {
|
||||
$followOrderId = $followMessageList[0]['id'];
|
||||
}
|
||||
|
|
|
@ -44,7 +44,7 @@ class SpiderDy extends Command
|
|||
|
||||
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();
|
||||
$us = [];
|
||||
foreach ($users as $u) {
|
||||
|
|
|
@ -45,7 +45,7 @@ class SpiderMt extends Command
|
|||
|
||||
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();
|
||||
$us = [];
|
||||
foreach ($users as $u) {
|
||||
|
|
|
@ -98,7 +98,7 @@ class Orders {
|
|||
case 3:
|
||||
case 5:
|
||||
$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) {
|
||||
$got = $it[0];
|
||||
|
||||
|
|
Loading…
Reference in New Issue