Merge branch 'dev' of http://gitlab.fjmaimaimai.com/allied-creation/sumifcc-discuss into dev
正在显示
3 个修改的文件
包含
3 行增加
和
0 行删除
| @@ -356,6 +356,7 @@ type ( | @@ -356,6 +356,7 @@ type ( | ||
| 356 | CountRead int `json:"countRead"` // 浏览数量 | 356 | CountRead int `json:"countRead"` // 浏览数量 |
| 357 | Show int `json:"show"` // 评论的展示状态(0显示、1不显示) | 357 | Show int `json:"show"` // 评论的展示状态(0显示、1不显示) |
| 358 | Tags []ArticleTagItem `json:"tags"` //标签 | 358 | Tags []ArticleTagItem `json:"tags"` //标签 |
| 359 | + TargetUser int `json:"targetUser"` //分发方式 [0分发给所有人、1分发给指定的人] | ||
| 359 | } | 360 | } |
| 360 | ) | 361 | ) |
| 361 | 362 |
| @@ -65,6 +65,7 @@ func (l *SystemGetArticleLogic) SystemGetArticle(req *types.SystemArticleGetRequ | @@ -65,6 +65,7 @@ func (l *SystemGetArticleLogic) SystemGetArticle(req *types.SystemArticleGetRequ | ||
| 65 | CountRead: article.CountRead, | 65 | CountRead: article.CountRead, |
| 66 | Show: int(article.Show), | 66 | Show: int(article.Show), |
| 67 | Tags: make([]types.ArticleTagItem, 0), | 67 | Tags: make([]types.ArticleTagItem, 0), |
| 68 | + TargetUser: int(article.TargetUser), | ||
| 68 | } | 69 | } |
| 69 | //标签 | 70 | //标签 |
| 70 | if len(article.Tags) > 0 { | 71 | if len(article.Tags) > 0 { |
| @@ -1047,6 +1047,7 @@ type SystemArticleGetResponse struct { | @@ -1047,6 +1047,7 @@ type SystemArticleGetResponse struct { | ||
| 1047 | CountRead int `json:"countRead"` // 浏览数量 | 1047 | CountRead int `json:"countRead"` // 浏览数量 |
| 1048 | Show int `json:"show"` // 评论的展示状态(0显示、1不显示) | 1048 | Show int `json:"show"` // 评论的展示状态(0显示、1不显示) |
| 1049 | Tags []ArticleTagItem `json:"tags"` //标签 | 1049 | Tags []ArticleTagItem `json:"tags"` //标签 |
| 1050 | + TargetUser int `json:"targetUser"` //分发方式 [0分发给所有人、1分发给指定的人] | ||
| 1050 | } | 1051 | } |
| 1051 | 1052 | ||
| 1052 | type SystemArticleSearchRequest struct { | 1053 | type SystemArticleSearchRequest struct { |
-
请 注册 或 登录 后发表评论