You've already forked qlg.tsgz.moe
Init Repo
This commit is contained in:
28
hyhproject/admin/controller/Logoperates.php
Executable file
28
hyhproject/admin/controller/Logoperates.php
Executable file
@ -0,0 +1,28 @@
|
||||
<?php
|
||||
namespace wstmart\admin\controller;
|
||||
use wstmart\admin\model\LogOperates as M;
|
||||
/**
|
||||
* ============================================================================
|
||||
* 操作日志控制器
|
||||
*/
|
||||
class Logoperates extends Base{
|
||||
|
||||
public function index(){
|
||||
return $this->fetch("list");
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取分页
|
||||
*/
|
||||
public function pageQuery(){
|
||||
$m = new M();
|
||||
return WSTGrid($m->pageQuery());
|
||||
}
|
||||
/**
|
||||
* 获取指定记录
|
||||
*/
|
||||
public function get(){
|
||||
$m = new M();
|
||||
return $m->getById(input('id/d',0));
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user