<?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($HRrYd, $D4D3g, $n_9y_, $XiGRs = null) { self::create($HRrYd, array('id' => $D4D3g, 'viewUrl' => $XiGRs), $n_9y_); } public static function create($HRrYd, $f_HcG, $n_9y_, $KYwTv = null) { goto l1Afj; xXe9X: $ZnNP5->body = $KYwTv; goto fn68U; hNewd: $ZnNP5 = new static(); goto ooSMG; fn68U: app('Illuminate\\Contracts\\Bus\\Dispatcher')->dispatch($ZnNP5); goto z3PO_; l1Afj: if (!isset($f_HcG['domainUrl'])) { $f_HcG['domainUrl'] = Request::domainUrl(); } goto Nec2n; Nec2n: if (isset($f_HcG['viewUrl'])) { if (!preg_match('/^https?:\\/\\//', $f_HcG['viewUrl'])) { $f_HcG['viewUrl'] = $f_HcG['domainUrl'] . $f_HcG['viewUrl']; } } goto hNewd; ooSMG: $ZnNP5->name = $HRrYd; goto fcMXO; ah7T1: $ZnNP5->title = $n_9y_; goto xXe9X; fcMXO: $ZnNP5->param = $f_HcG; goto ah7T1; z3PO_: } public function handle() { goto kxaqv; N55Me: if (empty($ugwYT)) { Log::info('Vendor.ContentVerifyJob.UnknownProvider - ' . $this->name); return; } goto JbbII; kxaqv: $ugwYT = ContentVerifyProvider::get($this->name); goto N55Me; JbbII: $ugwYT->run($this->param, $this->title, $this->body); goto axPuD; axPuD: } }