Files
sentadmin/backend/app/Http/Controllers/Auth/Log.php
2023-02-23 22:34:00 +08:00

28 lines
889 B
PHP

<?php
// +----------------------------------------------------------------------
// | SentCMS [ WE CAN DO IT JUST THINK IT ]
// +----------------------------------------------------------------------
// | Copyright (c) 2013 http://www.tensent.cn All rights reserved.
// +----------------------------------------------------------------------
// | Author: molong <molong@tensent.cn> <http://www.tensent.cn>
// +----------------------------------------------------------------------
namespace App\Http\Controllers\Auth;
use App\Http\Controllers\Base;
use App\Services\Auth\UsersLogService;
class Log extends Base{
/**
* @title 日志列表
*
* @param UsersLogService $service
* @return void
*/
public function index(UsersLogService $service){
$this->data['data'] = $service->getUserLogList(request());
$this->data['code'] = 1;
return $this->data;
}
}