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];