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
bb8231c7
Commit
bb8231c7
authored
Jul 16, 2019
by
宋祥
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'hzk' into 'master'
格式化 See merge request rays/pcloud-book!52
parents
c17c8b3b
41a3595f
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
3 deletions
+6
-3
BookClockKeywordBiz.java
...n/java/com/pcloud/book/clock/biz/BookClockKeywordBiz.java
+1
-1
BookClockKeywordBizImpl.java
...m/pcloud/book/clock/biz/impl/BookClockKeywordBizImpl.java
+2
-1
WxGroupSendTextListener.java
...ava/com/pcloud/book/mq/topic/WxGroupSendTextListener.java
+3
-1
No files found.
pcloud-service-book/src/main/java/com/pcloud/book/clock/biz/BookClockKeywordBiz.java
View file @
bb8231c7
...
@@ -27,7 +27,7 @@ public interface BookClockKeywordBiz {
...
@@ -27,7 +27,7 @@ public interface BookClockKeywordBiz {
* @param userWxId
* @param userWxId
* @return
* @return
*/
*/
Boolean
sendKeywordMessage
(
BookClockInfoDTO
bookClockInfoDTO
,
String
userWxId
,
String
wechatGroupId
,
String
wxId
);
Boolean
sendKeywordMessage
(
BookClockInfoDTO
bookClockInfoDTO
,
String
userWxId
,
String
wechatGroupId
,
String
wxId
);
/**
/**
* 获取微信群某一动作动作关键词
* 获取微信群某一动作动作关键词
...
...
pcloud-service-book/src/main/java/com/pcloud/book/clock/biz/impl/BookClockKeywordBizImpl.java
View file @
bb8231c7
...
@@ -154,7 +154,8 @@ public class BookClockKeywordBizImpl implements BookClockKeywordBiz {
...
@@ -154,7 +154,8 @@ public class BookClockKeywordBizImpl implements BookClockKeywordBiz {
*/
*/
@Override
@Override
@ParamLog
(
"为微信群打卡关键词,发送关键词信息"
)
@ParamLog
(
"为微信群打卡关键词,发送关键词信息"
)
public
Boolean
sendKeywordMessage
(
BookClockInfoDTO
bookClockInfoDTO
,
String
userWxId
,
String
wechatGroupId
,
String
wxId
)
{
public
Boolean
sendKeywordMessage
(
BookClockInfoDTO
bookClockInfoDTO
,
String
userWxId
,
String
wechatGroupId
,
String
wxId
)
{
//发送TOPIC进行相关操作
//发送TOPIC进行相关操作
Long
originId
=
bookClockInfoDTO
.
getOriginId
();
Long
originId
=
bookClockInfoDTO
.
getOriginId
();
String
originType
=
bookClockInfoDTO
.
getOriginType
();
String
originType
=
bookClockInfoDTO
.
getOriginType
();
...
...
pcloud-service-book/src/main/java/com/pcloud/book/mq/topic/WxGroupSendTextListener.java
View file @
bb8231c7
...
@@ -58,7 +58,9 @@ public class WxGroupSendTextListener {
...
@@ -58,7 +58,9 @@ public class WxGroupSendTextListener {
if
(!
ListUtils
.
isEmpty
(
allRobotWxIds
)
&&
!
allRobotWxIds
.
contains
(
wechatUserId
)
&&
!
StringUtil
.
isEmpty
(
sendTextDTO
.
getTextContent
()))
{
if
(!
ListUtils
.
isEmpty
(
allRobotWxIds
)
&&
!
allRobotWxIds
.
contains
(
wechatUserId
)
&&
!
StringUtil
.
isEmpty
(
sendTextDTO
.
getTextContent
()))
{
BookClockInfoDTO
bookClockInfoDTO
=
bookClockCheck
.
checkKeywordIsClock
(
sendTextDTO
.
getTextContent
().
trim
(),
sendTextDTO
.
getWechatGroupId
());
BookClockInfoDTO
bookClockInfoDTO
=
bookClockCheck
.
checkKeywordIsClock
(
sendTextDTO
.
getTextContent
().
trim
(),
sendTextDTO
.
getWechatGroupId
());
if
(
null
!=
bookClockInfoDTO
){
if
(
null
!=
bookClockInfoDTO
){
bookClockKeywordBiz
.
sendKeywordMessage
(
bookClockInfoDTO
,
wechatUserId
,
sendTextDTO
.
getWechatGroupId
(),
sendTextDTO
.
getWxId
());
bookClockKeywordBiz
.
sendKeywordMessage
(
bookClockInfoDTO
,
wechatUserId
,
sendTextDTO
.
getWechatGroupId
(),
sendTextDTO
.
getWxId
());
}
else
{
}
else
{
final
long
l
=
System
.
currentTimeMillis
();
final
long
l
=
System
.
currentTimeMillis
();
bookKeywordBiz
.
sendKeywordMessage
(
sendTextDTO
.
getTextContent
().
trim
(),
sendTextDTO
.
getWechatGroupId
(),
wechatUserId
,
sendTextDTO
.
getWxId
());
bookKeywordBiz
.
sendKeywordMessage
(
sendTextDTO
.
getTextContent
().
trim
(),
sendTextDTO
.
getWechatGroupId
(),
wechatUserId
,
sendTextDTO
.
getWxId
());
...
...
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