zxhxx 3 years ago
parent
commit
540efc8fa8
1 changed files with 6 additions and 0 deletions
  1. 6 0
      application/admin/library/traits/Backend.php

+ 6 - 0
application/admin/library/traits/Backend.php

@@ -479,4 +479,10 @@ trait Backend
 
 
         $this->success();
         $this->success();
     }
     }
+    public function info($id)
+    {
+        $row = $this->model->get($id);
+        $this->assign('info',$row);
+        return $this->view->fetch();
+    }
 }
 }