打开 config 下的 app.php 找到 ‘timezone'
把UTC 改为 PRC 即可
上一篇:where如何在laravel中使用
下一篇:使用thinkphp5.1框架怎么格式化mysql时间戳为日期