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
910db98c
Commit
910db98c
authored
Nov 10, 2022
by
徐高华
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
test
parent
932cfd24
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
QwMessageController.java
...an/manage/web/controller/content/QwMessageController.java
+6
-6
No files found.
haoban-manage3-wx/src/main/java/com/gic/haoban/manage/web/controller/content/QwMessageController.java
View file @
910db98c
...
@@ -75,7 +75,7 @@ public class QwMessageController extends WebBaseController {
...
@@ -75,7 +75,7 @@ public class QwMessageController extends WebBaseController {
json
.
put
(
"storeId"
,
storeId
);
json
.
put
(
"storeId"
,
storeId
);
json
.
put
(
"staffId"
,
staffId
);
json
.
put
(
"staffId"
,
staffId
);
// 群发-分享
// 群发-分享
json
.
put
(
"sendType"
,
2
);
json
.
put
(
"sendType"
,
1
);
json
.
put
(
"wxEnterpriseId"
,
wxEnterpriseId
);
json
.
put
(
"wxEnterpriseId"
,
wxEnterpriseId
);
String
ret
=
json
.
toJSONString
();
String
ret
=
json
.
toJSONString
();
try
{
try
{
...
@@ -98,11 +98,11 @@ public class QwMessageController extends WebBaseController {
...
@@ -98,11 +98,11 @@ public class QwMessageController extends WebBaseController {
ClerkDTO
clerk
=
this
.
clerkService
.
getclerkById
(
clerkId
);
ClerkDTO
clerk
=
this
.
clerkService
.
getclerkById
(
clerkId
);
// 查询所有门店-导购
// 查询所有门店-导购
if
(
StringUtils
.
isNotBlank
(
qo
.
getChooseAll
())
&&
"1"
.
equals
(
qo
.
getChooseAll
()))
{
if
(
StringUtils
.
isNotBlank
(
qo
.
getChooseAll
())
&&
"1"
.
equals
(
qo
.
getChooseAll
()))
{
if
(
clerk
.
getClerkType
()
>
0
)
{
if
(
clerk
.
getClerkType
()
==
1
)
{
String
storeId
=
clerk
.
getStoreId
()
;
String
storeId
=
clerk
.
getStoreId
()
;
clerkIdList
=
staffApiService
.
listBindStaffId
(
storeId
);
clerkIdList
=
staffApiService
.
listBindStaffId
(
storeId
);
}
else
{
}
else
if
(
clerk
.
getClerkType
()==
2
)
{
clerkIdList
.
add
(
clerkId
);
}
}
}
}
JSONObject
json
=
new
JSONObject
();
JSONObject
json
=
new
JSONObject
();
...
@@ -111,11 +111,11 @@ public class QwMessageController extends WebBaseController {
...
@@ -111,11 +111,11 @@ public class QwMessageController extends WebBaseController {
json
.
put
(
"imgJson"
,
imgJson
);
json
.
put
(
"imgJson"
,
imgJson
);
json
.
put
(
"staffId"
,
staffId
);
json
.
put
(
"staffId"
,
staffId
);
// 朋友圈-分享
// 朋友圈-分享
json
.
put
(
"sendType"
,
3
);
json
.
put
(
"sendType"
,
2
);
json
.
put
(
"wxEnterpriseId"
,
wxEnterpriseId
);
json
.
put
(
"wxEnterpriseId"
,
wxEnterpriseId
);
String
ret
=
json
.
toJSONString
();
String
ret
=
json
.
toJSONString
();
try
{
try
{
GICMQClientUtil
.
getClientInstance
().
sendCommonMessage
(
"
c
ommonRouter"
,
ret
,
GICMQClientUtil
.
getClientInstance
().
sendCommonMessage
(
"
haobanC
ommonRouter"
,
ret
,
"com.gic.haoban.app.customer.service.api.service.MessageLogApiService"
,
"callBackSendMessage"
);
"com.gic.haoban.app.customer.service.api.service.MessageLogApiService"
,
"callBackSendMessage"
);
}
catch
(
Exception
e
)
{
}
catch
(
Exception
e
)
{
logger
.
info
(
e
.
getMessage
(),
e
);
logger
.
info
(
e
.
getMessage
(),
e
);
...
...
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