浏览代码

Merge branch 'feature-wechat' of qk:zy_duanju/duanju_manage into test

admin 1 年之前
父节点
当前提交
48c68e4e9d
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      app/Libs/Helpers.php

+ 1 - 1
app/Libs/Helpers.php

@@ -458,7 +458,7 @@ function dingTalkAlertException(\Throwable $exception)
     }
 
     if(!$ip){
-        $ip = trim( shell_exec("  eth0 |grep 'inet ' 2>/dev/null  |awk '{print $2}' ") );
+        $ip = trim( shell_exec("ifconfig  eth0 |grep 'inet ' 2>/dev/null  |awk '{print $2}' ") );
     }
 
     $result = [