Authored by Amos_sdy

添加参数

@@ -16,5 +16,5 @@ public interface ISendCrmMessage { @@ -16,5 +16,5 @@ public interface ISendCrmMessage {
16 * @param imgUrl 16 * @param imgUrl
17 * @return <br> 17 * @return <br>
18 */ 18 */
19 - SendMessageRspBo consultReply(String uid, String productSkn, String content, String id, String imgUrl); 19 + SendMessageRspBo consultReply(String uid, String productSkn, String content, String id, String imgUrl, String productName, String question);
20 } 20 }
@@ -17,12 +17,14 @@ public class SendCrmMessageImpl extends AbstractSendMessage implements ISendCrmM @@ -17,12 +17,14 @@ public class SendCrmMessageImpl extends AbstractSendMessage implements ISendCrmM
17 private MessageCenterMqHandler messageCenterMqHandler; 17 private MessageCenterMqHandler messageCenterMqHandler;
18 18
19 @Override 19 @Override
20 - public SendMessageRspBo consultReply(String uid, String productSkn, String content, String id, String imgUrl) { 20 + public SendMessageRspBo consultReply(String uid, String productSkn, String content, String id, String imgUrl, String productName, String question) {
21 MessageCenterCommonEvent messageCenterCommonEvent = genMessageCenterCommonEvent(SendScenes.CONSULT_REPLY, productSkn, uid); 21 MessageCenterCommonEvent messageCenterCommonEvent = genMessageCenterCommonEvent(SendScenes.CONSULT_REPLY, productSkn, uid);
22 messageCenterCommonEvent.putInParams("skn", productSkn); 22 messageCenterCommonEvent.putInParams("skn", productSkn);
23 messageCenterCommonEvent.putInParams("imgUrl", imgUrl); 23 messageCenterCommonEvent.putInParams("imgUrl", imgUrl);
24 messageCenterCommonEvent.putInParams("reply", content); 24 messageCenterCommonEvent.putInParams("reply", content);
25 messageCenterCommonEvent.putInParams("typeId", id); 25 messageCenterCommonEvent.putInParams("typeId", id);
  26 + messageCenterCommonEvent.putInParams("productName", productName);
  27 + messageCenterCommonEvent.putInParams("consultQuestion", question);
26 messageCenterMqHandler.sendMessageToMq(messageCenterCommonEvent); 28 messageCenterMqHandler.sendMessageToMq(messageCenterCommonEvent);
27 return new SendMessageRspBo(200, "SUCCESS"); 29 return new SendMessageRspBo(200, "SUCCESS");
28 } 30 }