<?php
/**
 * ------------------------ 
 *  版权所有  www.tecmz.com
 *  商业版本请购买正版授权使用
 * ------------------------
*/ namespace Module\Vendor\Provider\ContentVerify; use Illuminate\Support\Facades\Log; use ModStart\Core\Input\Request; use ModStart\Core\Job\BaseJob; class ContentVerifyJob extends BaseJob { public $name; public $title; public $body; public $param; public static function createQuick($aVT3z, $StE5h, $SLZ1j, $DVqCQ = null) { self::create($aVT3z, array('id' => $StE5h, 'viewUrl' => $DVqCQ), $SLZ1j); } public static function create($aVT3z, $uxJUJ, $SLZ1j, $yGKLN = null) { goto QtmXS; L33Zu: app('Illuminate\\Contracts\\Bus\\Dispatcher')->dispatch($bicx_); goto i7JaA; EputI: $bicx_->param = $uxJUJ; goto hliKd; QtmXS: if (!isset($uxJUJ['domainUrl'])) { $uxJUJ['domainUrl'] = Request::domainUrl(); } goto Px8SG; hliKd: $bicx_->title = $SLZ1j; goto JiXJ9; JiXJ9: $bicx_->body = $yGKLN; goto L33Zu; X5H1D: $bicx_->name = $aVT3z; goto EputI; Px8SG: if (isset($uxJUJ['viewUrl'])) { if (!preg_match('/^https?:\\/\\//', $uxJUJ['viewUrl'])) { $uxJUJ['viewUrl'] = $uxJUJ['domainUrl'] . $uxJUJ['viewUrl']; } } goto uapu6; uapu6: $bicx_ = new static(); goto X5H1D; i7JaA: } public function handle() { goto NPnvw; Q04Br: $kHDkQ->run($this->param, $this->title, $this->body); goto PweOc; NPnvw: $kHDkQ = ContentVerifyBiz::getByName($this->name); goto msXRW; msXRW: if (empty($kHDkQ)) { Log::info('Vendor.ContentVerifyJob.UnknownProvider - ' . $this->name); return; } goto Q04Br; PweOc: } }