Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Sign in
Toggle navigation
T
tanpu-community
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
探普后端
tanpu-community
Commits
4cc68f4d
Commit
4cc68f4d
authored
Jul 08, 2021
by
刘基明
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
接口调整
parent
83fc55bd
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
34 additions
and
9 deletions
+34
-9
ThemeFormerQo.java
.../java/com/tanpu/community/api/beans/qo/ThemeFormerQo.java
+28
-0
ThemeQo.java
...c/main/java/com/tanpu/community/api/beans/qo/ThemeQo.java
+6
-5
CreateThemeReq.java
...m/tanpu/community/api/beans/req/theme/CreateThemeReq.java
+0
-4
No files found.
community-api/src/main/java/com/tanpu/community/api/beans/qo/ThemeFormerQo.java
0 → 100644
View file @
4cc68f4d
package
com
.
tanpu
.
community
.
api
.
beans
.
qo
;
import
com.tanpu.community.api.beans.ImagesDTO
;
import
io.swagger.annotations.ApiModel
;
import
io.swagger.annotations.ApiModelProperty
;
import
lombok.Data
;
import
java.util.List
;
@Data
@ApiModel
(
value
=
"转发的主题"
)
public
class
ThemeFormerQo
{
@ApiModelProperty
(
value
=
"被转发的昵称"
)
private
String
nickName
;
@ApiModelProperty
(
value
=
"被转发的用户头像"
)
private
String
userImg
;
@ApiModelProperty
(
value
=
"被转发的主题Id"
)
private
String
formerThemeId
;
@ApiModelProperty
(
value
=
"转发内容"
)
private
List
<
ThemeContentQo
>
forwardContent
;
@ApiModelProperty
(
value
=
"转发的图片九宫格"
)
private
List
<
ImagesDTO
>
imgList
;
}
community-api/src/main/java/com/tanpu/community/api/beans/qo/ThemeQo.java
View file @
4cc68f4d
...
...
@@ -27,8 +27,8 @@ public class ThemeQo {
@ApiModelProperty
(
value
=
"内容"
)
private
ThemeContentQo
content
;
@ApiModelProperty
(
value
=
"转发内容"
)
private
List
<
ThemeContentQo
>
forwardContent
;
@ApiModelProperty
(
value
=
"作者id"
)
private
String
authorId
;
...
...
@@ -45,14 +45,12 @@ public class ThemeQo {
@ApiModelProperty
(
value
=
"是否关注"
)
private
boolean
follow
;
@ApiModelProperty
(
value
=
"认证"
)
@ApiModelProperty
(
value
=
"
作者
认证"
)
private
String
authLabel
;
@ApiModelProperty
(
value
=
"发表时间"
)
private
String
upToNowTime
;
@ApiModelProperty
(
value
=
"被转发的主题"
)
private
String
formerThemeId
;
@ApiModelProperty
(
value
=
"转发量"
)
private
Integer
forwardCount
;
...
...
@@ -66,6 +64,9 @@ public class ThemeQo {
@ApiModelProperty
(
value
=
"图片九宫格"
)
private
List
<
ImagesDTO
>
imgList
;
@ApiModelProperty
(
value
=
"转发的主题"
)
private
ThemeFormerQo
formerTheme
;
private
LocalDateTime
createTime
;
private
LocalDateTime
updateTime
;
...
...
community-api/src/main/java/com/tanpu/community/api/beans/req/theme/CreateThemeReq.java
View file @
4cc68f4d
...
...
@@ -28,10 +28,6 @@ public class CreateThemeReq {
@ApiModelProperty
(
value
=
"所属的话题id"
)
private
String
topicId
;
@ApiModelProperty
(
value
=
"被转发的主题,不是转发则为空"
)
private
String
formerThemeId
;
@ApiModelProperty
(
value
=
"讨论中的图片列表"
)
private
List
<
ImagesDTO
>
imgList
;
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment