抖音增加平台
This commit is contained in:
parent
4174bd5890
commit
6fcb9ef860
|
@ -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) {
|
||||
|
|
|
@ -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];
|
||||
|
||||
|
|
Loading…
Reference in New Issue