This commit is contained in:
jianghanbo 2024-08-20 10:17:34 +08:00
parent 564d29f372
commit ec725126b7
9 changed files with 8 additions and 10 deletions

View File

@ -350,6 +350,7 @@ class SpiderDy extends Command
foreach ($list as $order) {
// 过滤一日游
if ($order->os == 3 && strpos('一日游', $order->category_desc) !== false) {
Log::info("抖音 跳过订单:{$order->order_id}");
continue;
}

View File

@ -19,7 +19,7 @@ class Douyin
private $token = '';
private $gate = 'https://life.douyin.com';
public $totalPage = 6;
private $keywords = ['泰国', '普吉岛', '西藏', 'S', 'G', 's', 'g'];
private $keywords = ['泰国', '普吉岛', '西藏', '港', '澳', 'S', 'G', 's', 'g'];
public function __construct($os = 3)
{
@ -27,7 +27,6 @@ class Douyin
$this->id = $this->_id();
$this->os = $os;
$this->token = $this->_token('', $os);
Log::info("抖音 token{$this->token},os:{$this->os} \n\n"); ;
}
public function login()
@ -170,7 +169,7 @@ class Douyin
$orderDetail = $this->_orderDetail($order->order_id, $order->status);
if (empty($orderDetail)) {
Log::info("抖音 订单拉取失败:{$order->order_id}");
Log::info("抖音 订单详情拉取失败:{$order->order_id}");
throw new Exception("抖音拉单{$order->order_id}详情获取失败");
}
@ -574,8 +573,6 @@ class Douyin
curl_close($ch);
if ($this->os == 5) {
Log::info("抖音 os{$this->os} \n\n");
Log::info( "抖音 订单url{$url} \n\n");
Log::info( "抖音 订单cookie{$this->_cookie()} \n\n");
Log::info( "抖音 body{$body} \n\n");
}
if (!in_array($method, ['GET', 'POST'])) {

File diff suppressed because one or more lines are too long

View File

@ -1 +1 @@
.pagination-container[data-v-28fdfbeb]{padding:32px 16px;position:fixed;bottom:0;left:0;width:100%;background:#fff;padding:40px 280px;-webkit-box-shadow:0 -2px 10px rgba(0,0,0,.1);box-shadow:0 -2px 10px rgba(0,0,0,.1);z-index:100}.pagination-container.hidden[data-v-28fdfbeb]{display:none}.app-container[data-v-2ee077ce]{position:relative;padding-bottom:60px}.el-table[data-v-2ee077ce],.filter-container[data-v-2ee077ce]{padding-bottom:5px}
.pagination-container[data-v-28fdfbeb]{padding:32px 16px;position:fixed;bottom:0;left:0;width:100%;background:#fff;padding:40px 280px;-webkit-box-shadow:0 -2px 10px rgba(0,0,0,.1);box-shadow:0 -2px 10px rgba(0,0,0,.1);z-index:100}.pagination-container.hidden[data-v-28fdfbeb]{display:none}.app-container[data-v-467b1006]{position:relative;padding-bottom:60px}.el-table[data-v-467b1006],.filter-container[data-v-467b1006]{padding-bottom:5px}

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long