Skip to content

Commit 19a9cb6

Browse files
committed
Update config file.
1 parent a1d6158 commit 19a9cb6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/config.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,14 +30,14 @@
3030
*/
3131
'log' => [
3232
'level' => env('WECHAT_LOG_LEVEL', 'debug'),
33-
'file' => env('WECHAT_LOG_FILE', '/tmp/easywechat.log'),
33+
'file' => env('WECHAT_LOG_FILE', storage_path('logs/wechat.log')),
3434
],
3535

3636
/**
3737
* OAuth 配置
3838
*
3939
* scopes:公众平台(snsapi_userinfo / snsapi_base),开放平台:snsapi_login
40-
* callback:OAuth授权完成后的回调页地址
40+
* callback:OAuth授权完成后的回调页地址(如果使用中间件,则随便填写。。。)
4141
*/
4242
// 'oauth' => [
4343
// 'scopes' => array_map('trim', explode(',', env('WECHAT_OAUTH_SCOPES', 'snsapi_userinfo'))),

0 commit comments

Comments
 (0)