zxhxx 3 年之前
父节点
当前提交
540efc8fa8
共有 1 个文件被更改,包括 6 次插入0 次删除
  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();
+    }
 }