mirror of
https://gitee.com/ulthon/ulthon_admin.git
synced 2026-07-11 04:12:49 +08:00
更新依赖库,新增数据库日志驱动;修改说明;
This commit is contained in:
@@ -6,6 +6,7 @@ use app\model\Category;
|
||||
use app\model\Nav;
|
||||
use app\model\Post;
|
||||
use app\model\PostCategory;
|
||||
use think\facade\Log;
|
||||
use think\facade\View;
|
||||
use think\Request;
|
||||
|
||||
@@ -20,6 +21,7 @@ class Index extends Common
|
||||
{
|
||||
//
|
||||
|
||||
Log::record('测试日志');
|
||||
return View::fetch();
|
||||
}
|
||||
|
||||
|
||||
14
app/model/DebugLog.php
Normal file
14
app/model/DebugLog.php
Normal file
@@ -0,0 +1,14 @@
|
||||
<?php
|
||||
declare (strict_types = 1);
|
||||
|
||||
namespace app\model;
|
||||
|
||||
use think\Model;
|
||||
|
||||
/**
|
||||
* @mixin \think\Model
|
||||
*/
|
||||
class DebugLog extends Model
|
||||
{
|
||||
//
|
||||
}
|
||||
Reference in New Issue
Block a user