正在显示
2 个修改的文件
包含
10 行增加
和
10 行删除
@@ -34,7 +34,7 @@ type Operator { | @@ -34,7 +34,7 @@ type Operator { | ||
34 | type ( | 34 | type ( |
35 | MiniArticleCreateRequest { | 35 | MiniArticleCreateRequest { |
36 | Title string `json:"title"` //标题 | 36 | Title string `json:"title"` //标题 |
37 | - Section []string `json:"section"` //文章的文本内容 | 37 | + Section []string `json:"section,optional"` //文章的文本内容 |
38 | AuthorId int64 `json:"authorId,optional"` //发布人id | 38 | AuthorId int64 `json:"authorId,optional"` //发布人id |
39 | Images []string `json:"images,optional"` //图片 | 39 | Images []string `json:"images,optional"` //图片 |
40 | WhoRead []int64 `json:"whoRead,optional"` //谁可查看 | 40 | WhoRead []int64 `json:"whoRead,optional"` //谁可查看 |
@@ -259,7 +259,7 @@ type ( | @@ -259,7 +259,7 @@ type ( | ||
259 | CompanyId int64 `json:",optional"` | 259 | CompanyId int64 `json:",optional"` |
260 | AuthorId int64 `json:",optional"` // 发布人 | 260 | AuthorId int64 `json:",optional"` // 发布人 |
261 | Template int `json:"template"` // 使用哪个模板进行编辑 0、无 5、演绎式 3、归纳式 10、其他业务类型模板 | 261 | Template int `json:"template"` // 使用哪个模板进行编辑 0、无 5、演绎式 3、归纳式 10、其他业务类型模板 |
262 | - Section []string `json:"section"` // 填写的内容 | 262 | + Section []string `json:"section,optional"` // 填写的内容 |
263 | Title string `json:"title"` // 标题 | 263 | Title string `json:"title"` // 标题 |
264 | Images []string `json:"images"` // 图片 | 264 | Images []string `json:"images"` // 图片 |
265 | WhoRead []int64 `json:"whoRead"` // 谁可以看 | 265 | WhoRead []int64 `json:"whoRead"` // 谁可以看 |
@@ -282,7 +282,7 @@ type ( | @@ -282,7 +282,7 @@ type ( | ||
282 | CompanyId int64 `json:",optional"` | 282 | CompanyId int64 `json:",optional"` |
283 | AuthorId int64 `json:",optional"` // 发布人 | 283 | AuthorId int64 `json:",optional"` // 发布人 |
284 | Template int `json:"template"` // 使用哪个模板进行编辑 0、无 1、演绎式 2、归纳式 | 284 | Template int `json:"template"` // 使用哪个模板进行编辑 0、无 1、演绎式 2、归纳式 |
285 | - Section []string `json:"section"` // 填写的内容 | 285 | + Section []string `json:"section,optional"` // 填写的内容 |
286 | Title string `json:"title"` // 标题 | 286 | Title string `json:"title"` // 标题 |
287 | Images []string `json:"images"` // 图片 | 287 | Images []string `json:"images"` // 图片 |
288 | WhoRead []int64 `json:"whoRead"` // 谁可以看 | 288 | WhoRead []int64 `json:"whoRead"` // 谁可以看 |
@@ -314,7 +314,7 @@ type ( | @@ -314,7 +314,7 @@ type ( | ||
314 | MiniArticleDraftItem { | 314 | MiniArticleDraftItem { |
315 | Id int64 `json:"id"` | 315 | Id int64 `json:"id"` |
316 | Template int `json:"template"` // 使用哪个模板进行编辑 0、无 1、演绎式 2、归纳式 | 316 | Template int `json:"template"` // 使用哪个模板进行编辑 0、无 1、演绎式 2、归纳式 |
317 | - Section []string `json:"section"` // 填写的内容 | 317 | + Section []string `json:"section,optional"` // 填写的内容 |
318 | Title string `json:"title"` // 标题 | 318 | Title string `json:"title"` // 标题 |
319 | Images []string `json:"images"` // 图片 | 319 | Images []string `json:"images"` // 图片 |
320 | CreatedAt int64 `json:"createdAt"`// | 320 | CreatedAt int64 `json:"createdAt"`// |
@@ -492,7 +492,7 @@ type ( | @@ -492,7 +492,7 @@ type ( | ||
492 | Id int64 `json:"id"` | 492 | Id int64 `json:"id"` |
493 | CompanyId int64 `json:"companyId,optional"` | 493 | CompanyId int64 `json:"companyId,optional"` |
494 | Template int `json:"template,optional"` // 使用哪个模板进行编辑 0、无 1、演绎式 2、归纳式 | 494 | Template int `json:"template,optional"` // 使用哪个模板进行编辑 0、无 1、演绎式 2、归纳式 |
495 | - Section []ArticleSection `json:"section"` // 填写的内容 | 495 | + Section []ArticleSection `json:"section,optional"` // 填写的内容 |
496 | Title string `json:"title"` // 标题 | 496 | Title string `json:"title"` // 标题 |
497 | Images []string `json:"images"` // 图片 | 497 | Images []string `json:"images"` // 图片 |
498 | Videos []Video `json:"video"` // 视频 | 498 | Videos []Video `json:"video"` // 视频 |
@@ -959,7 +959,7 @@ type Operator struct { | @@ -959,7 +959,7 @@ type Operator struct { | ||
959 | 959 | ||
960 | type MiniArticleCreateRequest struct { | 960 | type MiniArticleCreateRequest struct { |
961 | Title string `json:"title"` //标题 | 961 | Title string `json:"title"` //标题 |
962 | - Section []string `json:"section"` //文章的文本内容 | 962 | + Section []string `json:"section,optional"` //文章的文本内容 |
963 | AuthorId int64 `json:"authorId,optional"` //发布人id | 963 | AuthorId int64 `json:"authorId,optional"` //发布人id |
964 | Images []string `json:"images,optional"` //图片 | 964 | Images []string `json:"images,optional"` //图片 |
965 | WhoRead []int64 `json:"whoRead,optional"` //谁可查看 | 965 | WhoRead []int64 `json:"whoRead,optional"` //谁可查看 |
@@ -1163,7 +1163,7 @@ type MiniArticleDraftCreateRequest struct { | @@ -1163,7 +1163,7 @@ type MiniArticleDraftCreateRequest struct { | ||
1163 | CompanyId int64 `json:",optional"` | 1163 | CompanyId int64 `json:",optional"` |
1164 | AuthorId int64 `json:",optional"` // 发布人 | 1164 | AuthorId int64 `json:",optional"` // 发布人 |
1165 | Template int `json:"template"` // 使用哪个模板进行编辑 0、无 5、演绎式 3、归纳式 10、其他业务类型模板 | 1165 | Template int `json:"template"` // 使用哪个模板进行编辑 0、无 5、演绎式 3、归纳式 10、其他业务类型模板 |
1166 | - Section []string `json:"section"` // 填写的内容 | 1166 | + Section []string `json:"section,optional"` // 填写的内容 |
1167 | Title string `json:"title"` // 标题 | 1167 | Title string `json:"title"` // 标题 |
1168 | Images []string `json:"images"` // 图片 | 1168 | Images []string `json:"images"` // 图片 |
1169 | WhoRead []int64 `json:"whoRead"` // 谁可以看 | 1169 | WhoRead []int64 `json:"whoRead"` // 谁可以看 |
@@ -1182,7 +1182,7 @@ type MiniArticleDraftUpdateRequest struct { | @@ -1182,7 +1182,7 @@ type MiniArticleDraftUpdateRequest struct { | ||
1182 | CompanyId int64 `json:",optional"` | 1182 | CompanyId int64 `json:",optional"` |
1183 | AuthorId int64 `json:",optional"` // 发布人 | 1183 | AuthorId int64 `json:",optional"` // 发布人 |
1184 | Template int `json:"template"` // 使用哪个模板进行编辑 0、无 1、演绎式 2、归纳式 | 1184 | Template int `json:"template"` // 使用哪个模板进行编辑 0、无 1、演绎式 2、归纳式 |
1185 | - Section []string `json:"section"` // 填写的内容 | 1185 | + Section []string `json:"section,optional"` // 填写的内容 |
1186 | Title string `json:"title"` // 标题 | 1186 | Title string `json:"title"` // 标题 |
1187 | Images []string `json:"images"` // 图片 | 1187 | Images []string `json:"images"` // 图片 |
1188 | WhoRead []int64 `json:"whoRead"` // 谁可以看 | 1188 | WhoRead []int64 `json:"whoRead"` // 谁可以看 |
@@ -1211,7 +1211,7 @@ type MiniArticleDraftSearchMeResponse struct { | @@ -1211,7 +1211,7 @@ type MiniArticleDraftSearchMeResponse struct { | ||
1211 | type MiniArticleDraftItem struct { | 1211 | type MiniArticleDraftItem struct { |
1212 | Id int64 `json:"id"` | 1212 | Id int64 `json:"id"` |
1213 | Template int `json:"template"` // 使用哪个模板进行编辑 0、无 1、演绎式 2、归纳式 | 1213 | Template int `json:"template"` // 使用哪个模板进行编辑 0、无 1、演绎式 2、归纳式 |
1214 | - Section []string `json:"section"` // 填写的内容 | 1214 | + Section []string `json:"section,optional"` // 填写的内容 |
1215 | Title string `json:"title"` // 标题 | 1215 | Title string `json:"title"` // 标题 |
1216 | Images []string `json:"images"` // 图片 | 1216 | Images []string `json:"images"` // 图片 |
1217 | CreatedAt int64 `json:"createdAt"` // | 1217 | CreatedAt int64 `json:"createdAt"` // |
@@ -1371,7 +1371,7 @@ type SystemArticleUpdateRequest struct { | @@ -1371,7 +1371,7 @@ type SystemArticleUpdateRequest struct { | ||
1371 | Id int64 `json:"id"` | 1371 | Id int64 `json:"id"` |
1372 | CompanyId int64 `json:"companyId,optional"` | 1372 | CompanyId int64 `json:"companyId,optional"` |
1373 | Template int `json:"template,optional"` // 使用哪个模板进行编辑 0、无 1、演绎式 2、归纳式 | 1373 | Template int `json:"template,optional"` // 使用哪个模板进行编辑 0、无 1、演绎式 2、归纳式 |
1374 | - Section []ArticleSection `json:"section"` // 填写的内容 | 1374 | + Section []ArticleSection `json:"section,optional"` // 填写的内容 |
1375 | Title string `json:"title"` // 标题 | 1375 | Title string `json:"title"` // 标题 |
1376 | Images []string `json:"images"` // 图片 | 1376 | Images []string `json:"images"` // 图片 |
1377 | Videos []Video `json:"video"` // 视频 | 1377 | Videos []Video `json:"video"` // 视频 |
-
请 注册 或 登录 后发表评论