Commit b46c0d50 by 裴大威

修改延时10min

parent 132fd85d
...@@ -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());
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment