This commit is contained in:
parent
849c00cfff
commit
5bcc31ae9a
|
@ -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,
|
||||||
|
|
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue