feat: 🚀 文章分类添加图片

This commit is contained in:
2025-07-18 15:05:07 +08:00
parent fd0aaee998
commit f867f50114
13 changed files with 83 additions and 465 deletions

View File

@@ -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
});
};
//文章分类详情(用于编辑)