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

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

@@ -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')]));
}
/**