diff --git a/application/rongyu/common.php b/application/rongyu/common.php new file mode 100644 index 00000000..b3d9bbc7 --- /dev/null +++ b/application/rongyu/common.php @@ -0,0 +1 @@ +assign('list', $list); + + // 渲染模板 + return $this->fetch(); + } + + /** + * 显示创建资源表单页. + * + * @return \think\Response + */ + public function create() + { + // + } + + /** + * 保存新建的资源 + * + * @param \think\Request $request + * @return \think\Response + */ + public function save(Request $request) + { + // + } + + /** + * 显示指定的资源 + * + * @param int $id + * @return \think\Response + */ + public function read($id) + { + // + } + + /** + * 显示编辑资源表单页. + * + * @param int $id + * @return \think\Response + */ + public function edit($id) + { + // + } + + /** + * 保存更新的资源 + * + * @param \think\Request $request + * @param int $id + * @return \think\Response + */ + public function update(Request $request, $id) + { + // + } + + /** + * 删除指定资源 + * + * @param int $id + * @return \think\Response + */ + public function delete($id) + { + // + } +} diff --git a/application/rongyu/controller/JsRongyu.php b/application/rongyu/controller/JsRongyu.php new file mode 100644 index 00000000..feeb75a7 --- /dev/null +++ b/application/rongyu/controller/JsRongyu.php @@ -0,0 +1,87 @@ + +
| + | 姓名 | +性别 | +年龄 | +学校 | +班级 | +状态 | +操作 | +
|---|