feat: 🚀 文章分类添加图片
This commit is contained in:
@@ -19,7 +19,7 @@ export const getArticleClassDelApi = (params: any) => {
|
||||
};
|
||||
//文章分类更新(用于编辑后)
|
||||
export const getArticleClassEditUpApi = (params: any) => {
|
||||
const { id, name, sort, is_show, pid, seo_title, seo_keywords, seo_desc } = params;
|
||||
const { id, name, sort, is_show, pid, seo_title, seo_keywords, seo_desc, icon } = params;
|
||||
|
||||
return http.put<any>(`/article/category/update/${id}`, {
|
||||
name,
|
||||
@@ -28,7 +28,8 @@ export const getArticleClassEditUpApi = (params: any) => {
|
||||
pid,
|
||||
seo_title,
|
||||
seo_keywords,
|
||||
seo_desc
|
||||
seo_desc,
|
||||
icon
|
||||
});
|
||||
};
|
||||
//文章分类详情(用于编辑)
|
||||
|
||||
Reference in New Issue
Block a user