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
e392cdcd
Commit
e392cdcd
authored
Aug 26, 2019
by
杨涛
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改显示内容
parent
d289f5b9
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
0 deletions
+7
-0
WeixinClockBizImpl.java
.../pcloud/book/weixinclock/biz/impl/WeixinClockBizImpl.java
+7
-0
No files found.
pcloud-service-book/src/main/java/com/pcloud/book/weixinclock/biz/impl/WeixinClockBizImpl.java
View file @
e392cdcd
...
@@ -534,9 +534,16 @@ public class WeixinClockBizImpl implements WeixinClockBiz {
...
@@ -534,9 +534,16 @@ public class WeixinClockBizImpl implements WeixinClockBiz {
Calendar
today
=
Calendar
.
getInstance
();
Calendar
today
=
Calendar
.
getInstance
();
int
month
=
today
.
get
(
Calendar
.
MONTH
)
+
1
;
int
month
=
today
.
get
(
Calendar
.
MONTH
)
+
1
;
int
dayOfMonth
=
today
.
get
(
Calendar
.
DAY_OF_MONTH
);
int
dayOfMonth
=
today
.
get
(
Calendar
.
DAY_OF_MONTH
);
Integer
grantNum
=
weixinClockRewardDao
.
getGrantNumFromReward
(
weixinClockDto
.
getWeixinClockId
(),
clockDays
);
if
(
null
!=
grantNum
&&
!
grantNum
.
equals
(
0
)){
sendContent
=
"@"
+
nickname
+
" "
+
weixinClockDto
.
getClockIntroduction
()
+
"\n"
+
month
+
"月"
+
dayOfMonth
+
"日打卡成功,你已累积打卡"
sendContent
=
"@"
+
nickname
+
" "
+
weixinClockDto
.
getClockIntroduction
()
+
"\n"
+
month
+
"月"
+
dayOfMonth
+
"日打卡成功,你已累积打卡"
+
clockDays
+
"天,排名第"
+
+
clockDays
+
"天,排名第"
+
newOrder
+
",明天继续!"
+
"\n"
+
"\n"
+
"查看排行榜:"
+
clockRankUrl
+
"\n"
+
"点击抽奖,即可有机会获得精美礼品哦:"
+
clockRewardUrl
;
newOrder
+
",明天继续!"
+
"\n"
+
"\n"
+
"查看排行榜:"
+
clockRankUrl
+
"\n"
+
"点击抽奖,即可有机会获得精美礼品哦:"
+
clockRewardUrl
;
}
else
{
sendContent
=
"@"
+
nickname
+
" "
+
weixinClockDto
.
getClockIntroduction
()
+
"\n"
+
month
+
"月"
+
dayOfMonth
+
"日打卡成功,你已累积打卡"
+
clockDays
+
"天,排名第"
+
newOrder
+
",明天继续!"
+
"\n"
+
"\n"
+
"查看排行榜:"
+
clockRankUrl
;
}
}
else
{
}
else
{
sendContent
=
"@"
+
nickname
+
" ,你今天已经打过卡了,明天再继续!"
;
sendContent
=
"@"
+
nickname
+
" ,你今天已经打过卡了,明天再继续!"
;
}
}
...
...
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