<?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 zBjO5; tqdWk: Session::set('Vendor_SecuritySecondVerifyTime', time() + 3600); goto T1XCv; zBjO5: $ZUzqZ = modstart_config('Vendor_SecuritySecondVerifyPassword'); goto HKtmZ; lDqVT: if ($YLBFT < time()) { header('Location: ' . modstart_admin_url('security/second_verify', array('redirect' => Request::currentPageUrl(), '_is_tab' => View::shared('_isTabQuery')))); die; } goto tqdWk; HKtmZ: if (!$ZUzqZ) { return; } goto hImm0; hImm0: $YLBFT = intval(Session::get('Vendor_SecuritySecondVerifyTime')); goto lDqVT; T1XCv: } }