修改wechat日志划分时间单位

This commit is contained in:
wangxiaowei 2024-07-16 10:08:57 +08:00
parent a1506dd89e
commit ba3484e4ee

@ -48,7 +48,7 @@ class WeChatServer
'response_type' => 'array', 'response_type' => 'array',
'log' => [ 'log' => [
'level' => 'debug', 'level' => 'debug',
'file' => app()->getRootPath() . 'runtime/wechat/' . date('Ym') . '/' . date('d') . '/' . date('h') . '.log' 'file' => app()->getRootPath() . 'runtime/wechat/' . date('Ym') . '/' . date('d') . '/' . date('H') . '.log'
], ],
]; ];
return $config; return $config;
@ -72,7 +72,7 @@ class WeChatServer
'response_type' => 'array', 'response_type' => 'array',
'log' => [ 'log' => [
'level' => 'debug', 'level' => 'debug',
'file' => app()->getRootPath() . 'runtime/wechat/' . date('Ym') . '/' . date('d') . '/' . date('h') . '.log' 'file' => app()->getRootPath() . 'runtime/wechat/' . date('Ym') . '/' . date('d') . '/' . date('H') . '.log'
], ],
]; ];
return $config; return $config;
@ -194,7 +194,7 @@ class WeChatServer
'response_type' => 'array', 'response_type' => 'array',
'log' => [ 'log' => [
'level' => 'debug', 'level' => 'debug',
'file' => app()->getRootPath() . 'runtime/wechat/' . date('Ym') . '/' . date('d') . '/' . date('h') . '.log' 'file' => app()->getRootPath() . 'runtime/wechat/' . date('Ym') . '/' . date('d') . '/' . date('H') . '.log'
], ],
]; ];