<?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($TTiWe, $MkmbZ, $oa5ye, $q_inc = null) { self::create($TTiWe, array('id' => $MkmbZ, 'viewUrl' => $q_inc), $oa5ye); } public static function create($TTiWe, $quZRe, $oa5ye, $amxbk = null) { goto i6Ipd; pNqQQ: $rrcVP->name = $TTiWe; goto FMqVp; zBn8W: $rrcVP->title = $oa5ye; goto c5n4i; FMqVp: $rrcVP->param = $quZRe; goto zBn8W; jf7e0: if (isset($quZRe['viewUrl'])) { if (!preg_match('/^https?:\\/\\//', $quZRe['viewUrl'])) { $quZRe['viewUrl'] = $quZRe['domainUrl'] . $quZRe['viewUrl']; } } goto mRexw; mRexw: $rrcVP = new static(); goto pNqQQ; EwzCd: app('Illuminate\\Contracts\\Bus\\Dispatcher')->dispatch($rrcVP); goto KBRxj; c5n4i: $rrcVP->body = $amxbk; goto EwzCd; i6Ipd: if (!isset($quZRe['domainUrl'])) { $quZRe['domainUrl'] = Request::domainUrl(); } goto jf7e0; KBRxj: } public function handle() { goto hR4aR; ki2U1: if (empty($yzKqK)) { Log::info('Vendor.ContentVerifyJob.UnknownProvider - ' . $this->name); return; } goto ZcfM0; hR4aR: $yzKqK = ContentVerifyBiz::getByName($this->name); goto ki2U1; ZcfM0: $yzKqK->run($this->param, $this->title, $this->body); goto HFvw8; HFvw8: } }