mirror of
https://gitee.com/ulthon/ulthon_admin.git
synced 2026-07-06 10:02:49 +08:00
需要重新整合框架
This commit is contained in:
@@ -19,13 +19,13 @@ class AdminLog
|
||||
}
|
||||
|
||||
|
||||
$is_exit = $logged_admin_permission->where('app',$request->app())
|
||||
$is_exit = $logged_admin_permission->where('app',app('http')->getName())
|
||||
->where('controller',$request->controller())
|
||||
->where('action',$request->action());
|
||||
|
||||
if(!$is_exit->isEmpty()){
|
||||
AppAdminLog::create([
|
||||
'app'=>$request->app(),
|
||||
'app'=>app('http')->getName(),
|
||||
'controller'=>$request->controller(),
|
||||
'action'=>$request->action(),
|
||||
'param'=>$request->param(),
|
||||
|
||||
@@ -11,7 +11,7 @@ class PermissionRecord
|
||||
{
|
||||
|
||||
$current_access_info = [
|
||||
'app'=>$request->app(),
|
||||
'app'=>app('http')->getName(),
|
||||
'controller'=>$request->controller(),
|
||||
'action'=>$request->action()
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user