每个模板都有自己的头部导航,文章和分类

This commit is contained in:
2020-05-12 22:18:15 +08:00
parent 2f7ec6793e
commit 713ed8e432
21 changed files with 80 additions and 49 deletions

View File

@@ -80,7 +80,7 @@ class Category extends Common
ModelCategory::create($post_data);
return $this->success('添加成功','index');
return $this->success('添加成功',url('index',['type'=>$this->request->param('type')]));
}
@@ -152,7 +152,7 @@ class Category extends Common
$model_category->save($post_data);
return $this->success('保存成功','index');
return $this->success('保存成功',url('index',['type'=>$model_category->getData('type')]));
}