<?php
/**
 * ------------------------ 
 *  版权所有  www.tecmz.com
 *  商业版本请购买正版授权使用
 * ------------------------
*/ namespace Module\Vendor\Middleware; use ModStart\Core\Exception\BizException; use ModStart\Core\Input\InputPackage; use ModStart\Core\Input\Request; use ModStart\Core\Util\TimeUtil; use Module\Vendor\Util\NoneLoginOperateUtil; class NoneLoginOperateAuthMiddleware { public function handle($P03gV, \Closure $Eoi6s) { goto KlNQP; D9MO0: BizException::throwsIf('已超时效（操作时间显示为24小时内，timestamp=' . time() . '）', !($y3mDB <= time() && $y3mDB > time() - TimeUtil::PERIOD_DAY)); goto gl8cc; IXFNy: BizException::throwsIf('sign错误', $vzp6_ != $qg6qD); goto bs_Kj; TlcHO: BizException::throwsIfEmpty('sign为空', $vzp6_); goto B6gK4; CZ5iM: $y3mDB = $i3uTh->getInteger('timestamp'); goto D9MO0; OKhyd: BizException::throwsIfEmpty('nonce为空', $Dtfx2); goto TlcHO; gl8cc: $Dtfx2 = $i3uTh->getTrimString('nonce'); goto E9jKK; KlNQP: $i3uTh = InputPackage::buildFromInput(); goto CZ5iM; B6gK4: $qg6qD = NoneLoginOperateUtil::sign(Request::path(), $Dtfx2, $y3mDB, $i3uTh->getTrimString('param')); goto IXFNy; bs_Kj: return $Eoi6s($P03gV); goto Aco2o; E9jKK: $vzp6_ = $i3uTh->getTrimString('sign'); goto OKhyd; Aco2o: } }