<?php
/**
 * ------------------------ 
 *  版权所有  www.tecmz.com
 *  商业版本请购买正版授权使用
 * ------------------------
*/ namespace Module\Vendor\Provider\Notifier; use Module\Vendor\Util\NoneLoginOperateUtil; class NotifierProvider { public static function all() { goto FqYhW; IhmnO: if (null === $xxjod) { goto L7rQo; L7rQo: $B8icZ = config('NotifierProviders'); goto V7Ejo; asgEx: $xxjod = array_map(function ($K3kXq) { return app($K3kXq); }, array_unique($B8icZ)); goto aCvmT; V7Ejo: if (empty($B8icZ)) { $B8icZ = array(DefaultNotifierProvider::class); } goto asgEx; aCvmT: } goto uIgs8; uIgs8: return $xxjod; goto H7oV7; FqYhW: static $xxjod = null; goto IhmnO; H7oV7: } public static function notify($i9_MK, $WUQUn, $MPmfx, $EPwwc = array()) { foreach (self::all() as $Osj8s) { $Osj8s->notify($i9_MK, $WUQUn, $MPmfx, $EPwwc); } } public static function notifyNoneLoginOperateProcessUrl($i9_MK, $WUQUn, $MPmfx, $IEXD7, $EPwwc = array()) { goto egGNg; egGNg: $guIFx = array('domainUrl' => null, 'viewUrl' => null); goto jqBv4; jqBv4: foreach ($guIFx as $MFVkb => $YxV2x) { if (isset($EPwwc[$MFVkb])) { $guIFx[$MFVkb] = $EPwwc[$MFVkb]; unset($EPwwc[$MFVkb]); } } goto BhGNL; BhGNL: if ($IEXD7) { $vo15o = NoneLoginOperateUtil::generateUrl($IEXD7, $EPwwc, $guIFx['domainUrl']); $guIFx['processUrl'] = $vo15o; } goto PcWjG; PcWjG: self::notify($i9_MK, $WUQUn, $MPmfx, array_merge($EPwwc, $guIFx)); goto JwFky; JwFky: } }