mirror of
https://gitee.com/ulthon/ulthon_admin.git
synced 2026-07-08 02:52:49 +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')]));
|
||||
|
||||
|
||||
}
|
||||
|
||||
@@ -82,7 +82,7 @@ class Post extends Common
|
||||
]);
|
||||
}
|
||||
|
||||
return $this->success('添加成功', 'index');
|
||||
return $this->success('添加成功',url('index',['type'=>$this->request->param('type')]));
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -180,7 +180,7 @@ class Post extends Common
|
||||
}
|
||||
}
|
||||
|
||||
return $this->success('保存成功', 'index');
|
||||
return $this->success('保存成功', url('index',['type'=>$model_post->getData('type')]));
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user