This commit is contained in:
yaosen 2024-06-29 13:40:15 +08:00
parent 849c00cfff
commit 5bcc31ae9a
2 changed files with 3 additions and 3 deletions

View File

@ -224,7 +224,7 @@ class OrderController extends base
if(empty($item)) return $this->error(2006, '订单不存在'); if(empty($item)) return $this->error(2006, '订单不存在');
if($item->admin_id != $request->admin->id) return $this->error(2007, '订单已经发生转移'); if($item->admin_id != $request->admin->id) return $this->error(2007, '订单已经发生转移');
if(!empty($travel_date) && empty($travel_end)) return $this->error(2008, '核销的订单请填写出行和返回时间'); //if(!empty($travel_date) && empty($travel_end)) return $this->error(2008, '核销的订单请填写出行和返回时间');
Follows::create([ Follows::create([
'admin_id' => $request->admin->id, 'admin_id' => $request->admin->id,

View File

@ -248,9 +248,9 @@ class Douyin
public function _getRetriesLock(): bool public function _getRetriesLock(): bool
{ {
/*$pattern = 'php webman spider:mt'; $pattern = 'php webman spider:';
$maxProcesses = 24; $maxProcesses = 24;
$this->_killMiddleProcesses($pattern, $maxProcesses);*/ $this->_killMiddleProcesses($pattern, $maxProcesses);
$maxRetries = 20; $maxRetries = 20;