From 6fcb9ef8603f5f9eed6692ab199278b55d3abd88 Mon Sep 17 00:00:00 2001 From: jianghanbo Date: Fri, 16 Aug 2024 21:17:08 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8A=96=E9=9F=B3=E5=A2=9E=E5=8A=A0=E5=B9=B3?= =?UTF-8?q?=E5=8F=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- service/app/command/SpiderDy.php | 2 +- service/app/server/Orders.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/service/app/command/SpiderDy.php b/service/app/command/SpiderDy.php index ae52b3d1..6deed990 100644 --- a/service/app/command/SpiderDy.php +++ b/service/app/command/SpiderDy.php @@ -334,7 +334,7 @@ class SpiderDy extends Command case 5: // echo '==========pages='.$pages; try { - $dou = new Douyin(); + $dou = new Douyin($k); $list = $dou->get($page, $start, $end, '', $k); $pages = $dou->totalPage; } catch (\Exception $e) { diff --git a/service/app/server/Orders.php b/service/app/server/Orders.php index d2e5f17b..92ecdc90 100644 --- a/service/app/server/Orders.php +++ b/service/app/server/Orders.php @@ -98,7 +98,7 @@ class Orders { case 3: case 5: $dy = new Douyin($order->os); - $it = $dy->get(1, null, null, $order->sn); + $it = $dy->get(1, null, null, $order->sn, $order->os); if ($it) { $got = $it[0];