feat: update article category
This commit is contained in:
parent
8c7cb22687
commit
e264f05f35
|
|
@ -13,6 +13,7 @@ func ArticleCategoriesResponseMapper(articleCategoriesReq *entity.ArticleCategor
|
||||||
ID: articleCategoriesReq.ID,
|
ID: articleCategoriesReq.ID,
|
||||||
Title: articleCategoriesReq.Title,
|
Title: articleCategoriesReq.Title,
|
||||||
Description: articleCategoriesReq.Description,
|
Description: articleCategoriesReq.Description,
|
||||||
|
Slug: articleCategoriesReq.Slug,
|
||||||
ThumbnailPath: articleCategoriesReq.ThumbnailPath,
|
ThumbnailPath: articleCategoriesReq.ThumbnailPath,
|
||||||
ParentId: articleCategoriesReq.ParentId,
|
ParentId: articleCategoriesReq.ParentId,
|
||||||
CreatedById: articleCategoriesReq.CreatedById,
|
CreatedById: articleCategoriesReq.CreatedById,
|
||||||
|
|
|
||||||
|
|
@ -7,6 +7,7 @@ type ArticleCategoriesResponse struct {
|
||||||
Title string `json:"title"`
|
Title string `json:"title"`
|
||||||
Description string `json:"description"`
|
Description string `json:"description"`
|
||||||
ThumbnailUrl string `json:"thumbnailUrl"`
|
ThumbnailUrl string `json:"thumbnailUrl"`
|
||||||
|
Slug *string `json:"slug"`
|
||||||
Tags []string `json:"tags"`
|
Tags []string `json:"tags"`
|
||||||
ThumbnailPath *string `json:"thumbnailPath"`
|
ThumbnailPath *string `json:"thumbnailPath"`
|
||||||
ParentId *int `json:"parentId"`
|
ParentId *int `json:"parentId"`
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue