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
b46c0d50
Commit
b46c0d50
authored
Feb 02, 2020
by
裴大威
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改延时10min
parent
132fd85d
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletions
+4
-1
BookGuideBizImpl.java
...a/com/pcloud/book/keywords/biz/impl/BookGuideBizImpl.java
+4
-1
No files found.
pcloud-service-book/src/main/java/com/pcloud/book/keywords/biz/impl/BookGuideBizImpl.java
View file @
b46c0d50
...
@@ -172,7 +172,7 @@ public class BookGuideBizImpl implements BookGuideBiz {
...
@@ -172,7 +172,7 @@ public class BookGuideBizImpl implements BookGuideBiz {
List
<
SelfRobotKeyword
>
selfRobotKeywords
=
selfRobotKeywordDao
.
getListByBookGroupId
(
bookGroupId
);
List
<
SelfRobotKeyword
>
selfRobotKeywords
=
selfRobotKeywordDao
.
getListByBookGroupId
(
bookGroupId
);
if
(!
ListUtils
.
isEmpty
(
selfRobotKeywords
)){
if
(!
ListUtils
.
isEmpty
(
selfRobotKeywords
)){
try
{
try
{
String
content
=
"现在你试试回复我定制一套
「背单词」读书计划 「 」
内关键词来唤醒我"
;
String
content
=
"现在你试试回复我定制一套
【背单词】读书计划【 】
内关键词来唤醒我"
;
SendTextMessageVO
voh
=
new
SendTextMessageVO
();
SendTextMessageVO
voh
=
new
SendTextMessageVO
();
voh
.
setContent
(
content
);
voh
.
setContent
(
content
);
voh
.
setCode
(
SendMessageTypeEnum
.
SELF
.
getCode
());
voh
.
setCode
(
SendMessageTypeEnum
.
SELF
.
getCode
());
...
@@ -189,6 +189,9 @@ public class BookGuideBizImpl implements BookGuideBiz {
...
@@ -189,6 +189,9 @@ public class BookGuideBizImpl implements BookGuideBiz {
ThreadPoolUtils
.
SEND_MESSAGE_THREAD_POOL
.
execute
(()->{
ThreadPoolUtils
.
SEND_MESSAGE_THREAD_POOL
.
execute
(()->{
for
(
SelfRobotKeyword
selfRobotKeyword:
selfRobotKeywords
){
for
(
SelfRobotKeyword
selfRobotKeyword:
selfRobotKeywords
){
try
{
try
{
if
(
"长江作业本"
.
equals
(
selfRobotKeyword
.
getKeyword
())){
Thread
.
sleep
(
1000
*
60
*
10
);
}
SendTextMessageVO
vo
=
new
SendTextMessageVO
();
SendTextMessageVO
vo
=
new
SendTextMessageVO
();
vo
.
setContent
(
selfRobotKeyword
.
getGuide
());
vo
.
setContent
(
selfRobotKeyword
.
getGuide
());
vo
.
setCode
(
SendMessageTypeEnum
.
SELF
.
getCode
());
vo
.
setCode
(
SendMessageTypeEnum
.
SELF
.
getCode
());
...
...
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