Commit 910db98c by 徐高华

test

parent 932cfd24
......@@ -75,7 +75,7 @@ public class QwMessageController extends WebBaseController {
json.put("storeId", storeId);
json.put("staffId", staffId);
// 群发-分享
json.put("sendType", 2);
json.put("sendType", 1);
json.put("wxEnterpriseId", wxEnterpriseId);
String ret = json.toJSONString();
try {
......@@ -98,11 +98,11 @@ public class QwMessageController extends WebBaseController {
ClerkDTO clerk = this.clerkService.getclerkById(clerkId);
// 查询所有门店-导购
if(StringUtils.isNotBlank(qo.getChooseAll()) && "1".equals(qo.getChooseAll())) {
if (clerk.getClerkType() > 0) {
if (clerk.getClerkType() == 1) {
String storeId = clerk.getStoreId() ;
clerkIdList = staffApiService.listBindStaffId(storeId);
} else {
clerkIdList.add(clerkId);
} else if(clerk.getClerkType()==2) {
}
}
JSONObject json = new JSONObject();
......@@ -111,11 +111,11 @@ public class QwMessageController extends WebBaseController {
json.put("imgJson", imgJson);
json.put("staffId", staffId);
// 朋友圈-分享
json.put("sendType", 3);
json.put("sendType", 2);
json.put("wxEnterpriseId", wxEnterpriseId);
String ret = json.toJSONString();
try {
GICMQClientUtil.getClientInstance().sendCommonMessage("commonRouter", ret,
GICMQClientUtil.getClientInstance().sendCommonMessage("haobanCommonRouter", ret,
"com.gic.haoban.app.customer.service.api.service.MessageLogApiService", "callBackSendMessage");
} catch (Exception e) {
logger.info(e.getMessage(), e);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment