fix: add publishedFor in detail
This commit is contained in:
parent
f43d96c621
commit
5ad79e75e2
|
|
@ -82,6 +82,7 @@ func ArticlesResponseMapper(
|
|||
HtmlDescription: articlesReq.HtmlDescription,
|
||||
TypeId: articlesReq.TypeId,
|
||||
Tags: articlesReq.Tags,
|
||||
PublishedFor: articlesReq.PublishedFor,
|
||||
CategoryId: articlesReq.CategoryId,
|
||||
AiArticleId: articlesReq.AiArticleId,
|
||||
CategoryName: categoryName,
|
||||
|
|
|
|||
|
|
@ -16,6 +16,7 @@ type ArticlesResponse struct {
|
|||
CategoryName string `json:"categoryName"`
|
||||
TypeId int `json:"typeId"`
|
||||
Tags string `json:"tags"`
|
||||
PublishedFor *string `json:"publishedFor"`
|
||||
ThumbnailUrl string `json:"thumbnailUrl"`
|
||||
PageUrl *string `json:"pageUrl"`
|
||||
CreatedById *uint `json:"createdById"`
|
||||
|
|
|
|||
Loading…
Reference in New Issue