@@ -457,9 +457,6 @@ function dingTalkAlertException(\Throwable $exception)
$ip = isset($ssh_list[2]) ? $ssh_list[2]:'';
}
- if(!$ip){
- $ip = trim( shell_exec("ifconfig eth0 |grep 'inet ' 2>/dev/null |awk '{print $2}' ") );
- }
$result = [
'message'=>$exception->getMessage(),