diff --git a/service/app/admin/controller/IndexController.php b/service/app/admin/controller/IndexController.php index 0dc4e128..bd1ff6e2 100644 --- a/service/app/admin/controller/IndexController.php +++ b/service/app/admin/controller/IndexController.php @@ -79,6 +79,9 @@ 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']; } diff --git a/service/app/command/SpiderDy.php b/service/app/command/SpiderDy.php index 87ccec5d..d96ce1d6 100644 --- a/service/app/command/SpiderDy.php +++ b/service/app/command/SpiderDy.php @@ -349,7 +349,7 @@ class SpiderDy extends Command foreach ($list as $order) { // 过滤一日游 - if ($order->os == 3 && strpos('一日游', $order->category_desc) !== false) { + if ($order->os == 3 && strpos($order->category_desc, '一日游') !== false) { Log::info("抖音 跳过订单:{$order->order_id}"); continue; }