linwu 3 settimane fa
parent
commit
659aa931bd
1 ha cambiato i file con 6 aggiunte e 0 eliminazioni
  1. 6 0
      app/BaseController.php

+ 6 - 0
app/BaseController.php

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