醉菜鸟 2022-06-07 08:00:24
在 app/Utils 创建文件helpers.php
配置composer.json 添加配置
"autoload": { "files": [ "app/Utils/helpers.php" ] }
执行命令:composer dump-auto