log
This commit is contained in:
parent
564d29f372
commit
ec725126b7
|
@ -350,6 +350,7 @@ class SpiderDy extends Command
|
||||||
foreach ($list as $order) {
|
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;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -19,7 +19,7 @@ class Douyin
|
||||||
private $token = '';
|
private $token = '';
|
||||||
private $gate = 'https://life.douyin.com';
|
private $gate = 'https://life.douyin.com';
|
||||||
public $totalPage = 6;
|
public $totalPage = 6;
|
||||||
private $keywords = ['泰国', '普吉岛', '西藏', 'S', 'G', 's', 'g'];
|
private $keywords = ['泰国', '普吉岛', '西藏', '港', '澳', 'S', 'G', 's', 'g'];
|
||||||
|
|
||||||
public function __construct($os = 3)
|
public function __construct($os = 3)
|
||||||
{
|
{
|
||||||
|
@ -27,7 +27,6 @@ class Douyin
|
||||||
$this->id = $this->_id();
|
$this->id = $this->_id();
|
||||||
$this->os = $os;
|
$this->os = $os;
|
||||||
$this->token = $this->_token('', $os);
|
$this->token = $this->_token('', $os);
|
||||||
Log::info("抖音 token:{$this->token},os:{$this->os} \n\n"); ;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public function login()
|
public function login()
|
||||||
|
@ -170,7 +169,7 @@ class Douyin
|
||||||
|
|
||||||
$orderDetail = $this->_orderDetail($order->order_id, $order->status);
|
$orderDetail = $this->_orderDetail($order->order_id, $order->status);
|
||||||
if (empty($orderDetail)) {
|
if (empty($orderDetail)) {
|
||||||
Log::info("抖音 订单号拉取失败:{$order->order_id}");
|
Log::info("抖音 订单详情拉取失败:{$order->order_id}");
|
||||||
throw new Exception("抖音拉单{$order->order_id}详情获取失败");
|
throw new Exception("抖音拉单{$order->order_id}详情获取失败");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -574,8 +573,6 @@ class Douyin
|
||||||
curl_close($ch);
|
curl_close($ch);
|
||||||
if ($this->os == 5) {
|
if ($this->os == 5) {
|
||||||
Log::info("抖音 os:{$this->os} \n\n");
|
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");
|
Log::info( "抖音 body:{$body} \n\n");
|
||||||
}
|
}
|
||||||
if (!in_array($method, ['GET', 'POST'])) {
|
if (!in_array($method, ['GET', 'POST'])) {
|
||||||
|
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -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
Loading…
Reference in New Issue