<?php
/**
 * ------------------------ 
 *  版权所有  www.tecmz.com
 *  商业版本请购买正版授权使用
 * ------------------------
*/ namespace Module\Vendor\Traits; use Illuminate\Support\Facades\Session; use Illuminate\Support\Facades\View; use ModStart\Core\Input\Request; trait SecurityTrait { private function checkSecuritySecondVerify() { goto xNuuK; ULZMt: if (!$luJvJ) { return; } goto XkWuo; XkWuo: $FsTdv = intval(Session::get('Vendor_SecuritySecondVerifyTime')); goto gAQwc; H82AA: Session::set('Vendor_SecuritySecondVerifyTime', time() + 3600); goto d1Qxc; gAQwc: if ($FsTdv < time()) { header('Location: ' . modstart_admin_url('security/second_verify', array('redirect' => Request::currentPageUrl(), '_is_tab' => View::shared('_isTabQuery')))); die; } goto H82AA; xNuuK: $luJvJ = modstart_config('Vendor_SecuritySecondVerifyPassword'); goto ULZMt; d1Qxc: } }