diff --git a/fastphp/base/Controller.php b/fastphp/base/Controller.php index 0dfd387..021326c 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: “wanyongkang” “937888580@qq.com” - * @LastEditTime: 2024-02-02 17:30:32 + * @LastEditTime: 2024-02-18 11:30:43 */ namespace fastphp\base; @@ -44,11 +44,11 @@ class Controller $getPayload=$jwt->verifyToken($_SERVER['HTTP_TOKEN']); $ip = getIp(); - // $ip_limit = trim(file_get_contents('/var/www/ip/ip')); + $ip_limit = trim(file_get_contents('/var/www/ip/ip')); // if ((strpos($ip_limit, $ip) == false)&&$ip!=$ip_limit&&$getPayload['OperaterID']<100000) { - // if ((strpos($ip_limit, $ip) == false)&&$getPayload['OperaterID']<100000) { - // die; - // } + if ((strpos($ip_limit, $ip) == false)&&$getPayload['OperaterID']<100000) { + die; + } } else { die; } diff --git a/script/linedata/get_line_list.php b/script/linedata/get_line_list.php index 90cd306..505ee77 100755 --- a/script/linedata/get_line_list.php +++ b/script/linedata/get_line_list.php @@ -5,7 +5,7 @@ * @Author: kangkang * @Date: 2020-11-03 11:04:15 * @LastEditors: “wanyongkang” “937888580@qq.com” - * @LastEditTime: 2024-01-20 17:15:16 + * @LastEditTime: 2024-02-18 11:28:28 */ $is_script = 1; @@ -998,7 +998,7 @@ function shuidi_getList($data, &$file, &$all, $exit ) $record['maxuser'] = ''; $record['online'] = $city_info['online'] ? '正常' : '故障'; $record['status'] = $city_info['cpu_load']."%"; - $record['nasname'] = $city_info['domain']; + $record['nasname'] = "前往账号中心查看"; $list1[$key][] = $record; if (!in_array($record['nasname'], $exit) && !in_array($record['nasname'], $dnx_has_exit)) {