123456789101112131415161718192021222324252627282930313233343536 |
- <?php
- /**
- * @Created by PhpStorm
- * @author: Kirin
- * @day: 2024/11/20
- * @time: 19:58
- */
- namespace app\controller\admin\system;
- use app\common\AdminBaseController;
- use app\Request;
- use app\services\system\SystemLogServices;
- class SystemLogs extends AdminBaseController
- {
- public function __construct(Request $request, SystemLogServices $service)
- {
- parent::__construct($request);
- $this->service = $service;
- }
- public function index()
- {
- $where = $this->request->getMore([
- ['time', ''],
- ['admin_id', ''],
- ['path', ''],
- ['ip', ''],
- ]);
- return $this->success($this->service->getLogList($where, $this->adminInfo['level']));
- }
- }
|