Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
sequoia_score
Overview
Overview
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
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
mark
sequoia_score
Commits
9df42a95
Commit
9df42a95
authored
Jul 24, 2021
by
lenx065@gmail.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
文章日期
parent
54210b2e
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
3 deletions
+10
-3
ArticleListResponse.java
...a/com/live/common/domain/dto/api/ArticleListResponse.java
+5
-0
RegisterRequest.java
.../java/com/live/common/domain/request/RegisterRequest.java
+3
-3
ArticleServiceImpl.java
...java/com/live/common/service/impl/ArticleServiceImpl.java
+2
-0
No files found.
score-common/src/main/java/com/live/common/domain/dto/api/ArticleListResponse.java
View file @
9df42a95
...
@@ -24,6 +24,11 @@ public class ArticleListResponse {
...
@@ -24,6 +24,11 @@ public class ArticleListResponse {
//是否已经点赞过
//是否已经点赞过
private
boolean
liked
;
private
boolean
liked
;
//MM-dd
private
String
date
;
//HH:mm
private
String
time
;
private
List
<
TagInfoResponse
>
tags
;
private
List
<
TagInfoResponse
>
tags
;
}
}
score-common/src/main/java/com/live/common/domain/request/RegisterRequest.java
View file @
9df42a95
...
@@ -18,9 +18,9 @@ public class RegisterRequest {
...
@@ -18,9 +18,9 @@ public class RegisterRequest {
@ApiModelProperty
(
value
=
"短信验证码"
)
@ApiModelProperty
(
value
=
"短信验证码"
)
private
String
smsCode
;
private
String
smsCode
;
@Size
(
max
=
15
,
min
=
6
,
message
=
"请输入6-15位登录密码"
)
//
@Size(max = 15, min = 6, message = "请输入6-15位登录密码")
@ApiModelProperty
(
value
=
"登录密码"
)
//
@ApiModelProperty(value = "登录密码")
private
String
password
;
//
private String password;
// @ApiModelProperty(value = "渠道ID")
// @ApiModelProperty(value = "渠道ID")
// private Integer channelId;
// private Integer channelId;
...
...
score-common/src/main/java/com/live/common/service/impl/ArticleServiceImpl.java
View file @
9df42a95
...
@@ -158,6 +158,8 @@ public class ArticleServiceImpl implements ArticleService {
...
@@ -158,6 +158,8 @@ public class ArticleServiceImpl implements ArticleService {
.
coverPicture
(
b
.
getPicUrl
())
.
coverPicture
(
b
.
getPicUrl
())
.
likeCount
(
b
.
getFakeLike
()
+
(
int
)
otherLike
)
.
likeCount
(
b
.
getFakeLike
()
+
(
int
)
otherLike
)
.
liked
(
isLike
>
0
)
.
liked
(
isLike
>
0
)
.
date
(
DateUtil
.
format
(
b
.
getReleaseTime
(),
DateUtil
.
MD_
))
.
time
(
DateUtil
.
format
(
b
.
getReleaseTime
(),
DateUtil
.
HM_
))
.
tags
(
tags
.
stream
().
map
(
tag
->
TagInfoResponse
.
builder
()
.
tags
(
tags
.
stream
().
map
(
tag
->
TagInfoResponse
.
builder
()
.
name
(
tag
.
getTagName
())
.
name
(
tag
.
getTagName
())
.
id
(
tag
.
getId
())
.
id
(
tag
.
getId
())
...
...
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