<?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($zO6V5, $gZ39D, $H_jRb, $ceJC8 = null) { self::create($zO6V5, array('id' => $gZ39D, 'viewUrl' => $ceJC8), $H_jRb); } public static function create($zO6V5, $w6bW5, $H_jRb, $qhTwW = null) { goto CdxKb; ZDnnC: $owZYb->title = $H_jRb; goto WSWk2; b2www: $owZYb->name = $zO6V5; goto zjdV8; CdxKb: if (!isset($w6bW5['domainUrl'])) { $w6bW5['domainUrl'] = Request::domainUrl(); } goto ALNMN; HD4vE: $owZYb = new static(); goto b2www; WSWk2: $owZYb->body = $qhTwW; goto xo3kL; zjdV8: $owZYb->param = $w6bW5; goto ZDnnC; xo3kL: app('Illuminate\\Contracts\\Bus\\Dispatcher')->dispatch($owZYb); goto lsBq9; ALNMN: if (isset($w6bW5['viewUrl'])) { if (!preg_match('/^https?:\\/\\//', $w6bW5['viewUrl'])) { $w6bW5['viewUrl'] = $w6bW5['domainUrl'] . $w6bW5['viewUrl']; } } goto HD4vE; lsBq9: } public function handle() { goto RTLNq; RTLNq: $tDnAb = ContentVerifyBiz::getByName($this->name); goto mOEQR; YoyA2: $tDnAb->run($this->param, $this->title, $this->body); goto jW9CQ; mOEQR: if (empty($tDnAb)) { Log::info('Vendor.ContentVerifyJob.UnknownProvider - ' . $this->name); return; } goto YoyA2; jW9CQ: } }