zxhxx há 3 anos atrás
pai
commit
540efc8fa8
1 ficheiros alterados com 6 adições e 0 exclusões
  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();
     }
+    public function info($id)
+    {
+        $row = $this->model->get($id);
+        $this->assign('info',$row);
+        return $this->view->fetch();
+    }
 }