- 优化报错,支持微信通知

v6
Chaim 4 years ago
parent 0c3af92241
commit 83a993ee42

@ -80,8 +80,7 @@ class ThinkException extends Handle
'domain' => request()->domain(),
'url' => request()->url(),
'node' => config('dtapp.exception.wechat.node', ''),
'info' => '服务器IP为' . SystemService::instance()
->linuxIp(),
'info' => '服务器IP' . $_SERVER['REMOTE_ADDR'] . '客户端IP' . get_ip(),
'error' => base64_encode($msg)
])
->toArray();

Loading…
Cancel
Save