Commit 81ad45a7 by zhuyajie

修改

parent 5a2c9baf
...@@ -171,7 +171,7 @@ public class BookGuideBizImpl implements BookGuideBiz { ...@@ -171,7 +171,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);
...@@ -185,7 +185,7 @@ public class BookGuideBizImpl implements BookGuideBiz { ...@@ -185,7 +185,7 @@ public class BookGuideBizImpl implements BookGuideBiz {
Thread.sleep(5000); Thread.sleep(5000);
} catch (InterruptedException e) { } catch (InterruptedException e) {
log.error("发消息休眠5秒出错", e); log.error("发消息休眠5秒出错", e);
} }*/
ThreadPoolUtils.SEND_MESSAGE_THREAD_POOL.execute(()->{ ThreadPoolUtils.SEND_MESSAGE_THREAD_POOL.execute(()->{
for (SelfRobotKeyword selfRobotKeyword:selfRobotKeywords){ for (SelfRobotKeyword selfRobotKeyword:selfRobotKeywords){
try { try {
......
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