2025-06-25 10:53:11 +08:00

34 lines
686 B
PHP

<?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);
}
}