Authored by Amos_sdy

添加参数

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