更新功能
This commit is contained in:
27
backend/app/Http/Controllers/Auth/Log.php
Normal file
27
backend/app/Http/Controllers/Auth/Log.php
Normal file
@@ -0,0 +1,27 @@
|
||||
<?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;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user