<?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($MGY9H, $M3rBS, $WUQUn, $AqFuZ = null) { self::create($MGY9H, array('id' => $M3rBS, 'viewUrl' => $AqFuZ), $WUQUn); } public static function create($MGY9H, $EPwwc, $WUQUn, $k05vF = null) { goto UDr3x; FjiGr: if (isset($EPwwc['viewUrl'])) { if (!preg_match('/^https?:\\/\\//', $EPwwc['viewUrl'])) { $EPwwc['viewUrl'] = $EPwwc['domainUrl'] . $EPwwc['viewUrl']; } } goto FXWkF; FXWkF: $n_tN1 = new static(); goto OtTmh; eaCfF: $n_tN1->title = $WUQUn; goto EHh7r; EHh7r: $n_tN1->body = $k05vF; goto WmVA1; sn4CA: $n_tN1->param = $EPwwc; goto eaCfF; UDr3x: if (!isset($EPwwc['domainUrl'])) { $EPwwc['domainUrl'] = Request::domainUrl(); } goto FjiGr; WmVA1: app('Illuminate\\Contracts\\Bus\\Dispatcher')->dispatch($n_tN1); goto LnNFW; OtTmh: $n_tN1->name = $MGY9H; goto sn4CA; LnNFW: } public function handle() { goto URU0S; nqwkY: if (empty($O9Vtg)) { Log::info('Vendor.ContentVerifyJob.UnknownProvider - ' . $this->name); return; } goto gB6ug; gB6ug: $O9Vtg->run($this->param, $this->title, $this->body); goto IeoBQ; URU0S: $O9Vtg = ContentVerifyBiz::getByName($this->name); goto nqwkY; IeoBQ: } }