This commit is contained in:
2025-08-19 17:30:51 +08:00
parent fd44965f8a
commit 353c72c602
74 changed files with 10575 additions and 44 deletions

View File

@@ -0,0 +1,24 @@
<?php
namespace app\czg\sys\controller;
use app\common\controller\Backend;
use app\common\library\DatabaseRoute;
use think\facade\Db;
class LogController extends Backend
{
protected array $noNeedLogin = ['*'];
// 用户信息
public function list()
{
$params = $this->request->param();
$this->result('成功', DatabaseRoute::paginateDb('sys_log', function ($query) {
return $query->order('id', 'desc');
}, $params['page'], $params['limit']), 0, null, [], [], 'page');
}
}