mirror of
https://gitee.com/ulthon/ulthon_admin.git
synced 2026-07-07 02:22:48 +08:00
每个模板都有自己的头部导航,文章和分类
This commit is contained in:
@@ -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')]));
|
||||
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user