Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
midjourney-proxy
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
徐少华
midjourney-proxy
Commits
8beb06bf
Commit
8beb06bf
authored
Mar 14, 2020
by
阮思源
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'fix-1002495' into 'master'
陪伴天数接口修改 See merge request rays/pcloud-book!553
parents
bb752568
a5089706
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
CultivateBizImpl.java
.../com/pcloud/book/cultivate/biz/impl/CultivateBizImpl.java
+3
-0
No files found.
pcloud-service-book/src/main/java/com/pcloud/book/cultivate/biz/impl/CultivateBizImpl.java
View file @
8beb06bf
...
@@ -502,6 +502,9 @@ public class CultivateBizImpl implements CultivateBiz {
...
@@ -502,6 +502,9 @@ public class CultivateBizImpl implements CultivateBiz {
public
Long
getLoginDays
(
Long
wechatUserId
)
{
public
Long
getLoginDays
(
Long
wechatUserId
)
{
WechatUser
wechatUser
=
readerConsr
.
getWechatUser
(
wechatUserId
);
WechatUser
wechatUser
=
readerConsr
.
getWechatUser
(
wechatUserId
);
Long
dateDiff
=
DateUtils
.
getDateDiff
(
wechatUser
.
getCreatedDate
(),
new
Date
());
Long
dateDiff
=
DateUtils
.
getDateDiff
(
wechatUser
.
getCreatedDate
(),
new
Date
());
if
(
dateDiff
==
0
){
return
1L
;
}
return
dateDiff
;
return
dateDiff
;
}
}
...
...
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