|
|
@@ -1,6 +1,7 @@
|
|
|
<?php
|
|
|
|
|
|
namespace App\Servers\Wechat;
|
|
|
+use App\Facades\Servers\Logs\Log;
|
|
|
|
|
|
/**
|
|
|
* 微信网站应用
|
|
|
@@ -273,8 +274,7 @@ class WeChatWebApp
|
|
|
if ($data !== null) {
|
|
|
$log .= " - " . (is_array($data) ? json_encode($data) : $data);
|
|
|
}
|
|
|
-
|
|
|
- error_log($log . PHP_EOL, 3, 'wechat_oauth_error.log');
|
|
|
+ Log::info('wechat_oauth_error', '微信登录错误日志', ['data' => $log, 'error' => PHP_EOL]);
|
|
|
}
|
|
|
|
|
|
/**
|