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
e532d515
Commit
e532d515
authored
Feb 19, 2020
by
阮思源
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'fix-rsy' into 'master'
修改非关键词bug See merge request rays/pcloud-book!440
parents
0aa654a6
00c6f7a0
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
0 deletions
+9
-0
WxGroupSendNotTextListener.java
.../com/pcloud/book/mq/topic/WxGroupSendNotTextListener.java
+9
-0
No files found.
pcloud-service-book/src/main/java/com/pcloud/book/mq/topic/WxGroupSendNotTextListener.java
View file @
e532d515
...
@@ -2,8 +2,10 @@ package com.pcloud.book.mq.topic;
...
@@ -2,8 +2,10 @@ package com.pcloud.book.mq.topic;
import
com.pcloud.book.keywords.biz.BookKeywordBiz
;
import
com.pcloud.book.keywords.biz.BookKeywordBiz
;
import
com.pcloud.book.mq.config.MQTopicConumer
;
import
com.pcloud.book.mq.config.MQTopicConumer
;
import
com.pcloud.book.pcloudkeyword.dao.PcloudKeywordClassifyDao
;
import
com.pcloud.book.pcloudkeyword.dao.PcloudRobotClassifyDao
;
import
com.pcloud.book.pcloudkeyword.dao.PcloudRobotClassifyDao
;
import
com.pcloud.book.pcloudkeyword.dao.PcloudRobotDao
;
import
com.pcloud.book.pcloudkeyword.dao.PcloudRobotDao
;
import
com.pcloud.book.pcloudkeyword.entity.PcloudKeywordClassify
;
import
com.pcloud.book.pcloudkeyword.entity.PcloudRobot
;
import
com.pcloud.book.pcloudkeyword.entity.PcloudRobot
;
import
com.pcloud.book.pcloudkeyword.entity.PcloudRobotClassify
;
import
com.pcloud.book.pcloudkeyword.entity.PcloudRobotClassify
;
import
com.pcloud.common.core.aspect.ParamLog
;
import
com.pcloud.common.core.aspect.ParamLog
;
...
@@ -32,6 +34,8 @@ public class WxGroupSendNotTextListener {
...
@@ -32,6 +34,8 @@ public class WxGroupSendNotTextListener {
private
PcloudRobotDao
pcloudRobotDao
;
private
PcloudRobotDao
pcloudRobotDao
;
@Autowired
@Autowired
private
PcloudRobotClassifyDao
pcloudRobotClassifyDao
;
private
PcloudRobotClassifyDao
pcloudRobotClassifyDao
;
@Autowired
private
PcloudKeywordClassifyDao
pcloudKeywordClassifyDao
;
@ParamLog
(
"接收用户发送非文本消息"
)
@ParamLog
(
"接收用户发送非文本消息"
)
@RabbitHandler
@RabbitHandler
...
@@ -59,6 +63,11 @@ public class WxGroupSendNotTextListener {
...
@@ -59,6 +63,11 @@ public class WxGroupSendNotTextListener {
return
;
return
;
}
}
Long
pcloudClassifyId
=
robotClassify
.
getKeywordClassifyId
();
Long
pcloudClassifyId
=
robotClassify
.
getKeywordClassifyId
();
PcloudKeywordClassify
pcloudKeywordClassify
=
pcloudKeywordClassifyDao
.
getById
(
pcloudClassifyId
);
if
(
null
==
pcloudKeywordClassify
||
!
pcloudKeywordClassify
.
getOpen
()){
//分类未启用
log
.
info
(
"查询小号关键词分类为空或未启用pcloudClassifyId="
+
pcloudClassifyId
);
return
;
}
bookKeywordBiz
.
sendPcloudNotKeyWord
(
userWxId
,
ip
,
code
,
robotId
,
pcloudClassifyId
,
sendNotTextDTO
.
getMessageType
());
bookKeywordBiz
.
sendPcloudNotKeyWord
(
userWxId
,
ip
,
code
,
robotId
,
pcloudClassifyId
,
sendNotTextDTO
.
getMessageType
());
}
}
...
...
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