diff --git a/fastphp/base/Controller.php b/fastphp/base/Controller.php index 049a0e8..d76dd95 100644 --- a/fastphp/base/Controller.php +++ b/fastphp/base/Controller.php @@ -5,7 +5,7 @@ * @Author: kangkang * @Date: 2020-09-30 17:32:46 * @LastEditors: Please set LastEditors - * @LastEditTime: 2021-11-16 08:54:01 + * @LastEditTime: 2022-01-15 09:23:08 */ namespace fastphp\base; @@ -43,19 +43,19 @@ class Controller $jwt = new Jwt('etor_yh_lzh_20f_2020_YES'); $getPayload=$jwt->verifyToken($_SERVER['HTTP_TOKEN']); - $ip = getIp(); - $ip_limit = file_get_contents('/var/www/ip/ip'); - if ((strpos($ip_limit, $ip) == false)&&$ip!=$ip_limit&&$getPayload['OperaterID']<100000) { - die; - } + // $ip = getIp(); + // $ip_limit = file_get_contents('/var/www/ip/ip'); + // if ((strpos($ip_limit, $ip) == false)&&$ip!=$ip_limit&&$getPayload['OperaterID']<100000) { + // die; + // } } else { - die; + // die; } } if(!$getPayload){ - die; + // die; } $this->userinfo = $getPayload; }