feat: update article category response
This commit is contained in:
parent
e264f05f35
commit
6f16cb9279
|
|
@ -16,6 +16,7 @@ func ArticleCategoriesResponseMapper(articleCategoriesReq *entity.ArticleCategor
|
||||||
Slug: articleCategoriesReq.Slug,
|
Slug: articleCategoriesReq.Slug,
|
||||||
ThumbnailPath: articleCategoriesReq.ThumbnailPath,
|
ThumbnailPath: articleCategoriesReq.ThumbnailPath,
|
||||||
ParentId: articleCategoriesReq.ParentId,
|
ParentId: articleCategoriesReq.ParentId,
|
||||||
|
OldCategoryId: articleCategoriesReq.OldCategoryId,
|
||||||
CreatedById: articleCategoriesReq.CreatedById,
|
CreatedById: articleCategoriesReq.CreatedById,
|
||||||
StatusId: articleCategoriesReq.StatusId,
|
StatusId: articleCategoriesReq.StatusId,
|
||||||
IsPublish: articleCategoriesReq.IsPublish,
|
IsPublish: articleCategoriesReq.IsPublish,
|
||||||
|
|
|
||||||
|
|
@ -11,6 +11,7 @@ type ArticleCategoriesResponse struct {
|
||||||
Tags []string `json:"tags"`
|
Tags []string `json:"tags"`
|
||||||
ThumbnailPath *string `json:"thumbnailPath"`
|
ThumbnailPath *string `json:"thumbnailPath"`
|
||||||
ParentId *int `json:"parentId"`
|
ParentId *int `json:"parentId"`
|
||||||
|
OldCategoryId *uint `json:"oldCategoryId"`
|
||||||
CreatedById *uint `json:"createdById"`
|
CreatedById *uint `json:"createdById"`
|
||||||
StatusId int `json:"statusId"`
|
StatusId int `json:"statusId"`
|
||||||
IsPublish *bool `json:"isPublish"`
|
IsPublish *bool `json:"isPublish"`
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue