linwu 3 долоо хоног өмнө
parent
commit
03c385e484

+ 6 - 0
app/BaseController.php

@@ -12,6 +12,12 @@ use think\Validate;
  */
 abstract class BaseController
 {
+    /**
+     * Request实例
+     * @var \think\Request
+     */
+    protected $request;
+	
     /**
      * 应用实例
      * @var \think\App