first commit
This commit is contained in:
@@ -0,0 +1,34 @@
|
||||
<?php
|
||||
/**
|
||||
* @copyright Copyright (c) 2023-2024 美天智能科技
|
||||
* @author 李志强
|
||||
* @link http://www.meteteme.com
|
||||
*/
|
||||
declare(strict_types=1);
|
||||
namespace app\api\controller;
|
||||
|
||||
use app\api\BaseController;
|
||||
use app\model\Log as LogList;
|
||||
use think\facade\Db;
|
||||
use think\facade\Session;
|
||||
|
||||
class Log extends BaseController
|
||||
{
|
||||
//获取日志列表
|
||||
public function get_list()
|
||||
{
|
||||
$param = get_params();
|
||||
$list = new LogList();
|
||||
$content = $list->get_list($param);
|
||||
return to_assign(0, '', $content);
|
||||
}
|
||||
|
||||
//获取日志列表
|
||||
public function log_list()
|
||||
{
|
||||
$param = get_params();
|
||||
$list = new LogList();
|
||||
$content = $list->log_list($param);
|
||||
return to_assign(0, '', $content);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user