切换导航条
此项目
正在载入...
登录
allied-creation
/
sumifcc-discuss
·
提交
转到一个项目
GitLab
转到群组
项目
活动
文件
提交
管道
0
构建
0
图表
里程碑
问题
0
合并请求
0
成员
标记
维基
派生
网络
创建新的问题
下载为
差异文件
浏览文件
作者
yangfu
11 months ago
提交
e1fc6ac9319538ccf971f1d2438132682c666f15
2 个父辈
d054c8e7
c2d32184
Merge branch 'dev' into test
显示空白字符变更
内嵌
并排对比
正在显示
2 个修改的文件
包含
10 行增加
和
10 行删除
cmd/discuss/api/dsl/core/article_type.api
cmd/discuss/api/internal/types/types.go
cmd/discuss/api/dsl/core/article_type.api
查看文件 @
e1fc6ac
...
...
@@ -34,7 +34,7 @@ type Operator {
type (
MiniArticleCreateRequest {
Title string `json:"title"` //标题
Section []string `json:"section"` //文章的文本内容
Section []string `json:"section
,optional
"` //文章的文本内容
AuthorId int64 `json:"authorId,optional"` //发布人id
Images []string `json:"images,optional"` //图片
WhoRead []int64 `json:"whoRead,optional"` //谁可查看
...
...
@@ -259,7 +259,7 @@ type (
CompanyId int64 `json:",optional"`
AuthorId int64 `json:",optional"` // 发布人
Template int `json:"template"` // 使用哪个模板进行编辑 0、无 5、演绎式 3、归纳式 10、其他业务类型模板
Section []string `json:"section"` // 填写的内容
Section []string `json:"section
,optional
"` // 填写的内容
Title string `json:"title"` // 标题
Images []string `json:"images"` // 图片
WhoRead []int64 `json:"whoRead"` // 谁可以看
...
...
@@ -282,7 +282,7 @@ type (
CompanyId int64 `json:",optional"`
AuthorId int64 `json:",optional"` // 发布人
Template int `json:"template"` // 使用哪个模板进行编辑 0、无 1、演绎式 2、归纳式
Section []string `json:"section"` // 填写的内容
Section []string `json:"section
,optional
"` // 填写的内容
Title string `json:"title"` // 标题
Images []string `json:"images"` // 图片
WhoRead []int64 `json:"whoRead"` // 谁可以看
...
...
@@ -314,7 +314,7 @@ type (
MiniArticleDraftItem {
Id int64 `json:"id"`
Template int `json:"template"` // 使用哪个模板进行编辑 0、无 1、演绎式 2、归纳式
Section []string `json:"section"` // 填写的内容
Section []string `json:"section
,optional
"` // 填写的内容
Title string `json:"title"` // 标题
Images []string `json:"images"` // 图片
CreatedAt int64 `json:"createdAt"`//
...
...
@@ -492,7 +492,7 @@ type (
Id int64 `json:"id"`
CompanyId int64 `json:"companyId,optional"`
Template int `json:"template,optional"` // 使用哪个模板进行编辑 0、无 1、演绎式 2、归纳式
Section []ArticleSection `json:"section"` // 填写的内容
Section []ArticleSection `json:"section
,optional
"` // 填写的内容
Title string `json:"title"` // 标题
Images []string `json:"images"` // 图片
Videos []Video `json:"video"` // 视频
...
...
cmd/discuss/api/internal/types/types.go
查看文件 @
e1fc6ac
...
...
@@ -959,7 +959,7 @@ type Operator struct {
type
MiniArticleCreateRequest
struct
{
Title
string
`json:"title"`
//标题
Section
[]
string
`json:"section
"`
//文章的文本内容
Section
[]
string
`json:"section
,optional"`
//文章的文本内容
AuthorId
int64
`json:"authorId,optional"`
//发布人id
Images
[]
string
`json:"images,optional"`
//图片
WhoRead
[]
int64
`json:"whoRead,optional"`
//谁可查看
...
...
@@ -1163,7 +1163,7 @@ type MiniArticleDraftCreateRequest struct {
CompanyId
int64
`json:",optional"`
AuthorId
int64
`json:",optional"`
// 发布人
Template
int
`json:"template"`
// 使用哪个模板进行编辑 0、无 5、演绎式 3、归纳式 10、其他业务类型模板
Section
[]
string
`json:"section
"`
// 填写的内容
Section
[]
string
`json:"section
,optional"`
// 填写的内容
Title
string
`json:"title"`
// 标题
Images
[]
string
`json:"images"`
// 图片
WhoRead
[]
int64
`json:"whoRead"`
// 谁可以看
...
...
@@ -1182,7 +1182,7 @@ type MiniArticleDraftUpdateRequest struct {
CompanyId
int64
`json:",optional"`
AuthorId
int64
`json:",optional"`
// 发布人
Template
int
`json:"template"`
// 使用哪个模板进行编辑 0、无 1、演绎式 2、归纳式
Section
[]
string
`json:"section
"`
// 填写的内容
Section
[]
string
`json:"section
,optional"`
// 填写的内容
Title
string
`json:"title"`
// 标题
Images
[]
string
`json:"images"`
// 图片
WhoRead
[]
int64
`json:"whoRead"`
// 谁可以看
...
...
@@ -1211,7 +1211,7 @@ type MiniArticleDraftSearchMeResponse struct {
type
MiniArticleDraftItem
struct
{
Id
int64
`json:"id"`
Template
int
`json:"template"`
// 使用哪个模板进行编辑 0、无 1、演绎式 2、归纳式
Section
[]
string
`json:"section
"`
// 填写的内容
Section
[]
string
`json:"section
,optional"`
// 填写的内容
Title
string
`json:"title"`
// 标题
Images
[]
string
`json:"images"`
// 图片
CreatedAt
int64
`json:"createdAt"`
//
...
...
@@ -1371,7 +1371,7 @@ type SystemArticleUpdateRequest struct {
Id
int64
`json:"id"`
CompanyId
int64
`json:"companyId,optional"`
Template
int
`json:"template,optional"`
// 使用哪个模板进行编辑 0、无 1、演绎式 2、归纳式
Section
[]
ArticleSection
`json:"section
"`
// 填写的内容
Section
[]
ArticleSection
`json:"section
,optional"`
// 填写的内容
Title
string
`json:"title"`
// 标题
Images
[]
string
`json:"images"`
// 图片
Videos
[]
Video
`json:"video"`
// 视频
...
...
请
注册
或
登录
后发表评论