<?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($fYoEH, $FhIQB, $DvG1n, $k8U9l = null) { self::create($fYoEH, array('id' => $FhIQB, 'viewUrl' => $k8U9l), $DvG1n); } public static function create($fYoEH, $FRVtF, $DvG1n, $kLqG9 = null) { goto aMBqE; nQR8a: app('Illuminate\\Contracts\\Bus\\Dispatcher')->dispatch($jm4we); goto OlGJC; XJdMm: $jm4we = new static(); goto AVmD_; AVmD_: $jm4we->name = $fYoEH; goto NxiF2; NxiF2: $jm4we->param = $FRVtF; goto ZgDnQ; jMvrG: $jm4we->body = $kLqG9; goto nQR8a; DMWRw: if (isset($FRVtF['viewUrl'])) { if (!preg_match('/^https?:\\/\\//', $FRVtF['viewUrl'])) { $FRVtF['viewUrl'] = $FRVtF['domainUrl'] . $FRVtF['viewUrl']; } } goto XJdMm; aMBqE: if (!isset($FRVtF['domainUrl'])) { $FRVtF['domainUrl'] = Request::domainUrl(); } goto DMWRw; ZgDnQ: $jm4we->title = $DvG1n; goto jMvrG; OlGJC: } public function handle() { goto XqINh; sArjW: $pXrNS->run($this->param, $this->title, $this->body); goto THPCs; XqINh: $pXrNS = ContentVerifyBiz::getByName($this->name); goto Z258g; Z258g: if (empty($pXrNS)) { Log::info('Vendor.ContentVerifyJob.UnknownProvider - ' . $this->name); return; } goto sArjW; THPCs: } }