@@ -1,5 +1,6 @@
<?php
-declare (strict_types = 1);
+
+declare (strict_types=1);
namespace app;
@@ -52,7 +53,8 @@ abstract class BaseController
// 初始化
protected function initialize()
- {}
+ {
+ }
/**
* 验证数据
@@ -1,4 +1,5 @@
use think\db\exception\DataNotFoundException;
@@ -1,8 +1,8 @@
// 应用请求对象类
class Request extends \think\Request
{
-
}
@@ -1,2 +1,3 @@
// 应用公共文件
// 事件定义文件
return [
'bind' => [
// 全局中间件定义文件
// 全局请求缓存
use app\ExceptionHandle;
use app\Request;
// +----------------------------------------------------------------------
// | 应用设置
// | 控制台配置
// | Cookie设置
// | 多语言设置
// 中间件配置
// 别名或分组
// | 路由设置
// | 会话设置
// | Trace设置 开启调试模式后有效
// | 模板设置
// | ThinkPHP [ WE CAN DO IT JUST THINK ]