This commit is contained in:
parent
9410f6ac91
commit
d97b184a5d
|
@ -256,7 +256,7 @@ class Douyin
|
|||
$list = $this->_curl("/life/trip/fulfilment/v1/query/certificate_list?end_time={$end}&page_index={$page}&page_size=50&start_time={$start}&root_life_account_id=" . $this->_id(), $params, 'POST');
|
||||
if (empty($list) || $list->status_code != 0) {
|
||||
Log::error('===查询时间:' . $start . '--' . $end . '====certificate_list: ' . json_encode($list));
|
||||
throw new Exception("抖音拉单失败,Err:" . json_encode($list));
|
||||
//throw new Exception("抖音拉单失败,Err:" . json_encode($list));
|
||||
}
|
||||
}
|
||||
// Log::warning('====list=====',['list'=>$list->data->pagination]);
|
||||
|
@ -534,7 +534,7 @@ class Douyin
|
|||
if (!isset($res->status_code) || $res->status_code != 0) {
|
||||
Log::info("抖音 os:{$this->os} \n\n");
|
||||
Log::info( "抖音 body:{$body} \n\n");
|
||||
if ($this->tryTimes > 1) {
|
||||
if ($this->tryTimes > 2) {
|
||||
(new ThirdApiService())->weComNotice($this->os);
|
||||
}
|
||||
$this->tryTimes++;
|
||||
|
|
|
@ -85,7 +85,8 @@ class Kuaishou {
|
|||
$list = $this->_curl($this->gate, $params,'POST');
|
||||
|
||||
if(empty($list) || $list->success != true) {
|
||||
throw new \Exception("快手拉单失败,Err:".json_encode($list));
|
||||
// throw new \Exception("快手拉单失败,Err:".json_encode($list));
|
||||
Log::info("快手拉单失败,Err:".json_encode($list));
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -73,7 +73,8 @@ class Meituan {
|
|||
$list = $this->_curl('/nib/trade/b/order/search/list', $params);
|
||||
|
||||
if(empty($list) || $list->code != 0) {
|
||||
throw new \Exception("美团拉单失败,Err:".json_encode($list));
|
||||
// throw new \Exception("美团拉单失败,Err:".json_encode($list));
|
||||
Log::info("美团拉单失败,Err:".json_encode($list));
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -109,7 +109,7 @@ class Tongcheng {
|
|||
$list = $this->_curl("/merchant/api/market-live/wxVideoV2/supplierOrderByPage", $params, 'POST');
|
||||
if (empty($list) || $list->code != 1000) {
|
||||
Log::error('===查询时间:' . $start . '--' . $end . '====certificate_list: ' . json_encode($list));
|
||||
throw new Exception("同程拉单失败,Err:" . json_encode($list));
|
||||
Log::info("美团拉单失败,Err:".json_encode($list));
|
||||
}
|
||||
}
|
||||
return $list;
|
||||
|
|
Loading…
Reference in New Issue