摘要:
1 导入扩展库 项目地址 https://github.com/happyHou/laravel_form 阅读全文
摘要:
中间件的作用: 过滤进入应用程序的http请求。 比如,有一个活动,在活动开始前进入活动页则跳转到宣传页 使用步骤: 1 创建中间件 \app\Http\Middleware\Activity.php php artisan make:middleware Activity <?php namesp 阅读全文