<?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($L1N0l, $ULYbu, $yP0KF, $BYqW0 = null) { self::create($L1N0l, array('id' => $ULYbu, 'viewUrl' => $BYqW0), $yP0KF); } public static function create($L1N0l, $qOrzw, $yP0KF, $cllT8 = null) { goto F7kpJ; CNPXF: app('Illuminate\\Contracts\\Bus\\Dispatcher')->dispatch($pJeg8); goto V2Zom; CfqKG: $pJeg8->body = $cllT8; goto CNPXF; F7kpJ: if (!isset($qOrzw['domainUrl'])) { $qOrzw['domainUrl'] = Request::domainUrl(); } goto O3J5i; ttvS2: $pJeg8 = new static(); goto bopWS; bopWS: $pJeg8->name = $L1N0l; goto DjUUT; O3J5i: if (isset($qOrzw['viewUrl'])) { if (!preg_match('/^https?:\\/\\//', $qOrzw['viewUrl'])) { $qOrzw['viewUrl'] = $qOrzw['domainUrl'] . $qOrzw['viewUrl']; } } goto ttvS2; DjUUT: $pJeg8->param = $qOrzw; goto jxlik; jxlik: $pJeg8->title = $yP0KF; goto CfqKG; V2Zom: } public function handle() { goto fmel_; fmel_: $oMd7I = ContentVerifyBiz::getByName($this->name); goto PvvvP; dXcyG: $oMd7I->run($this->param, $this->title, $this->body); goto uixiy; PvvvP: if (empty($oMd7I)) { Log::info('Vendor.ContentVerifyJob.UnknownProvider - ' . $this->name); return; } goto dXcyG; uixiy: } }