linwu 1 жил өмнө
parent
commit
35986eea7b

+ 2 - 2
app/admin/controller/Admin.php

@@ -142,9 +142,9 @@ class Admin extends AdminBaseController
     public function myInfo()
     public function myInfo()
     {
     {
         $access_admin = session('access_admin');
         $access_admin = session('access_admin');
-        $admin        = AdminModel::find($access_admin['id']);
+        $info        = AdminModel::find($access_admin['id']);
         return view('', [
         return view('', [
-            'admin' => $admin,
+            'info' => $info,
         ]);
         ]);
     }
     }