新增操作权限
parent
b7a52bfed7
commit
6dfb13e4d9
@ -0,0 +1,25 @@
|
|||||||
|
<?php
|
||||||
|
|
||||||
|
namespace Admin\Controller;
|
||||||
|
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 订单控制器
|
||||||
|
*
|
||||||
|
* @author 鹿文学
|
||||||
|
*/
|
||||||
|
class OperationLogController extends ThinkController
|
||||||
|
{
|
||||||
|
public function test()
|
||||||
|
{
|
||||||
|
$this->addOperationLog(array(
|
||||||
|
"op_type"=>1,
|
||||||
|
"op_name"=>"添加用户",
|
||||||
|
"key"=>"test185",
|
||||||
|
"url"=>U("Member/user_info",array("user_id"=>252315))
|
||||||
|
));
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
}
|
Loading…
Reference in New Issue