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,
|
||||
ThumbnailPath: articleCategoriesReq.ThumbnailPath,
|
||||
ParentId: articleCategoriesReq.ParentId,
|
||||
OldCategoryId: articleCategoriesReq.OldCategoryId,
|
||||
CreatedById: articleCategoriesReq.CreatedById,
|
||||
StatusId: articleCategoriesReq.StatusId,
|
||||
IsPublish: articleCategoriesReq.IsPublish,
|
||||
|
|
|
|||
|
|
@ -11,6 +11,7 @@ type ArticleCategoriesResponse struct {
|
|||
Tags []string `json:"tags"`
|
||||
ThumbnailPath *string `json:"thumbnailPath"`
|
||||
ParentId *int `json:"parentId"`
|
||||
OldCategoryId *uint `json:"oldCategoryId"`
|
||||
CreatedById *uint `json:"createdById"`
|
||||
StatusId int `json:"statusId"`
|
||||
IsPublish *bool `json:"isPublish"`
|
||||
|
|
|
|||
Loading…
Reference in New Issue