Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
H
haoban-manage3.0
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
haoban3.0
haoban-manage3.0
Commits
9d88ee0e
Commit
9d88ee0e
authored
Apr 08, 2020
by
fudahua
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
同步接口门店的信息
parent
3d4c298c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletions
+3
-1
MessageApiServiceImpl.java
...anage/service/service/out/impl/MessageApiServiceImpl.java
+3
-1
No files found.
haoban-manage3-service/src/main/java/com/gic/haoban/manage/service/service/out/impl/MessageApiServiceImpl.java
View file @
9d88ee0e
...
@@ -61,6 +61,8 @@ public class MessageApiServiceImpl implements MessageApiService {
...
@@ -61,6 +61,8 @@ public class MessageApiServiceImpl implements MessageApiService {
@Autowired
@Autowired
private
QywxDepartmentApiService
qywxDepartmentApiService
;
private
QywxDepartmentApiService
qywxDepartmentApiService
;
private
final
String
CONTACT_APP
=
"contactSuiteId"
;
@Override
@Override
public
void
gicMessageReceive
(
GicMessageDTO
gicMessageDTO
)
{
public
void
gicMessageReceive
(
GicMessageDTO
gicMessageDTO
)
{
GicMQClient
clientInstance
=
GICMQClientUtil
.
getClientInstance
();
GicMQClient
clientInstance
=
GICMQClientUtil
.
getClientInstance
();
...
@@ -76,7 +78,7 @@ public class MessageApiServiceImpl implements MessageApiService {
...
@@ -76,7 +78,7 @@ public class MessageApiServiceImpl implements MessageApiService {
public
void
wxMessageReceive
(
QywxCallBackDTO
qywxCallBackDTO
)
{
public
void
wxMessageReceive
(
QywxCallBackDTO
qywxCallBackDTO
)
{
GicMQClient
clientInstance
=
GICMQClientUtil
.
getClientInstance
();
GicMQClient
clientInstance
=
GICMQClientUtil
.
getClientInstance
();
try
{
try
{
if
(
config
.
getSuiteId
().
equals
(
qywxCallBackDTO
.
getSuiteId
()))
{
if
(
config
.
getSuiteId
().
equals
(
qywxCallBackDTO
.
getSuiteId
())
||
CONTACT_APP
.
equals
(
qywxCallBackDTO
.
getSuiteId
()))
{
log
.
info
(
"发送消息到dealWxMessageMq,{}"
,
JSON
.
toJSONString
(
qywxCallBackDTO
));
log
.
info
(
"发送消息到dealWxMessageMq,{}"
,
JSON
.
toJSONString
(
qywxCallBackDTO
));
clientInstance
.
sendMessage
(
"dealWxMessageMq"
,
JSON
.
toJSONString
(
qywxCallBackDTO
));
clientInstance
.
sendMessage
(
"dealWxMessageMq"
,
JSON
.
toJSONString
(
qywxCallBackDTO
));
}
}
...
...
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