移动database

This commit is contained in:
win7 committed 2019-12-04 15:33:21 +08:00
1 parent 361cfd0e2e
commit f6f88adb59
38 files changed
+1907 -13

No files matched your search

+6 -1
View File
@@ -9,11 +9,13 @@ use think\Validate;
use app\middleware\UserLogin;
use app\middleware\Auth;
/**
* 控制器基础类
*/
abstract class BaseController
{
/**
* Request实例
* @var \think\Request
@@ -57,7 +59,9 @@ abstract class BaseController
// 初始化
protected function initialize()
{}
{
}
/**
* 验证数据
@@ -96,4 +100,5 @@ abstract class BaseController
return $v->failException(true)->check($data);
}
}