分享 / 509 / 1 / 创建于 5年前 / 更新于 5年前
1️⃣。使用composer自动加载,composer.json定义file文件 2️⃣。在app.php写入require __DIR__.'/helpers.php';
require __DIR__.'/helpers.php';
第二种方法 会导致 php artisan cache:clear 报错的
我要举报该,理由是:
推荐文章: