<?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($BjHij, $pNLgg, $MNqDV, $EDvk0 = null) { self::create($BjHij, array('id' => $pNLgg, 'viewUrl' => $EDvk0), $MNqDV); } public static function create($BjHij, $KJ3xr, $MNqDV, $ZI5AS = null) { goto UqpLT; fbM2O: $QJc0N->title = $MNqDV; goto k3c0K; LRw9L: $QJc0N = new static(); goto Yvu7T; k3c0K: $QJc0N->body = $ZI5AS; goto XKbyF; UqpLT: if (!isset($KJ3xr['domainUrl'])) { $KJ3xr['domainUrl'] = Request::domainUrl(); } goto fh0yN; XKbyF: app('Illuminate\\Contracts\\Bus\\Dispatcher')->dispatch($QJc0N); goto ndfkk; fh0yN: if (isset($KJ3xr['viewUrl'])) { if (!preg_match('/^https?:\\/\\//', $KJ3xr['viewUrl'])) { $KJ3xr['viewUrl'] = $KJ3xr['domainUrl'] . $KJ3xr['viewUrl']; } } goto LRw9L; Yvu7T: $QJc0N->name = $BjHij; goto VI9m1; VI9m1: $QJc0N->param = $KJ3xr; goto fbM2O; ndfkk: } public function handle() { goto lEf2X; k1uZ6: if (empty($sefXk)) { Log::info('Vendor.ContentVerifyJob.UnknownProvider - ' . $this->name); return; } goto xsk7B; lEf2X: $sefXk = ContentVerifyBiz::getByName($this->name); goto k1uZ6; xsk7B: $sefXk->run($this->param, $this->title, $this->body); goto WYSQ2; WYSQ2: } }