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
0577c4d8
Commit
0577c4d8
authored
Sep 20, 2024
by
徐高华
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'feature/xgh/导购任务' into 'developer'
导购任务-通知 See merge request
!2148
parents
d8225e00
80cd6dd7
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
1 deletions
+13
-1
MemberUnionidRelatedApiServiceImpl.java
.../service/out/impl/MemberUnionidRelatedApiServiceImpl.java
+13
-1
No files found.
haoban-manage3-service/src/main/java/com/gic/haoban/manage/service/service/out/impl/MemberUnionidRelatedApiServiceImpl.java
View file @
0577c4d8
...
...
@@ -867,6 +867,19 @@ public class MemberUnionidRelatedApiServiceImpl implements MemberUnionidRelatedA
* 欧泊莱定制需求
*/
private
void
addDelFriendEvent
(
String
unionId
,
String
clerkId
,
String
wxEnterpriseId
,
String
enterpriseId
,
String
memberId
,
String
storeId
,
Integer
changeType
)
{
GicMQClient
clientInstance
=
GICMQClientUtil
.
getClientInstance
();
if
(
changeType
==
1
)
{
log
.
info
(
"加好友通知={}"
,
memberId
);
JSONObject
json
=
new
JSONObject
()
;
json
.
put
(
"enterpriseId"
,
enterpriseId
)
;
json
.
put
(
"clerkId"
,
clerkId
)
;
json
.
put
(
"memberId"
,
memberId
)
;
try
{
clientInstance
.
sendMessage
(
"qywxAddFriendEvent"
,
json
.
toJSONString
());
}
catch
(
Exception
e
)
{
throw
new
RuntimeException
(
e
);
}
}
String
addDelFriendEvent
=
config
.
getAddDelFriendEvent
();
if
(!
addDelFriendEvent
.
contains
(
wxEnterpriseId
))
{
log
.
info
(
"非定制,无需广播通知"
);
...
...
@@ -886,7 +899,6 @@ public class MemberUnionidRelatedApiServiceImpl implements MemberUnionidRelatedA
log
.
info
(
"会员不存在:{}"
,
memberId
);
return
;
}
GicMQClient
clientInstance
=
GICMQClientUtil
.
getClientInstance
();
try
{
JSONObject
msgBody
=
new
JSONObject
();
msgBody
.
put
(
"cardNo"
,
member
.
getCardNum
());
...
...
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