mirror of
https://gitee.com/ulthon/ulthon_admin.git
synced 2026-07-03 16:32:48 +08:00
完成内置的数据库日志驱动;内置数据库日志的定时清除;更新新的数据库sql;
This commit is contained in:
@@ -1,10 +1,12 @@
|
||||
<?php
|
||||
declare (strict_types = 1);
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace app;
|
||||
|
||||
use think\App;
|
||||
use think\exception\ValidateException;
|
||||
use think\facade\Log;
|
||||
use think\Validate;
|
||||
|
||||
/**
|
||||
@@ -52,7 +54,10 @@ abstract class BaseController
|
||||
|
||||
// 初始化
|
||||
protected function initialize()
|
||||
{}
|
||||
{
|
||||
|
||||
Log::debug('request url :' . $this->request->url());
|
||||
}
|
||||
|
||||
/**
|
||||
* 验证数据
|
||||
@@ -90,5 +95,4 @@ abstract class BaseController
|
||||
|
||||
return $v->failException(true)->check($data);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user