...
|
...
|
@@ -90,4 +90,75 @@ public class UFOSendServiceImpl implements IUFOSendService{ |
|
|
messageCenterMqHandler.sendMessageToMq(commonEvent);
|
|
|
return new SendMessageRspBo(200, "SUCCESS");
|
|
|
}
|
|
|
|
|
|
@Override
|
|
|
public SendMessageRspBo buyerFlawConfirm(String uid, String orderCode) {
|
|
|
MessageCenterCommonEvent commonEvent = genMessageCenterCommonEvent(UFOScenes.UFO_BUYER_FLAW_CONFIRM,uid,0,uid);
|
|
|
commonEvent.putInParams("orderCode",orderCode);
|
|
|
messageCenterMqHandler.sendMessageToMq(commonEvent);
|
|
|
return new SendMessageRspBo(200, "SUCCESS");
|
|
|
}
|
|
|
|
|
|
@Override
|
|
|
public SendMessageRspBo identifyFail(String uid, String orderCode) {
|
|
|
MessageCenterCommonEvent commonEvent = genMessageCenterCommonEvent(UFOScenes.UFO_IDENTIFY_FAIL,uid,0,uid);
|
|
|
commonEvent.putInParams("orderCode",orderCode);
|
|
|
messageCenterMqHandler.sendMessageToMq(commonEvent);
|
|
|
return new SendMessageRspBo(200, "SUCCESS");
|
|
|
}
|
|
|
|
|
|
@Override
|
|
|
public SendMessageRspBo skuClosedNotice(String uid, String productName, String size, String goodsNumber) {
|
|
|
MessageCenterCommonEvent commonEvent = genMessageCenterCommonEvent(UFOScenes.UFO_SKU_CLOSE,uid,0,uid);
|
|
|
commonEvent.putInParams("productName",productName);
|
|
|
commonEvent.putInParams("size",size);
|
|
|
commonEvent.putInParams("goodsNumber",goodsNumber);
|
|
|
messageCenterMqHandler.sendMessageToMq(commonEvent);
|
|
|
return new SendMessageRspBo(200, "SUCCESS");
|
|
|
}
|
|
|
|
|
|
@Override
|
|
|
public SendMessageRspBo sellerGoodsSend(String uid, String orderCode, String productName, String size, String goodsNumber, String limitTimeStr) {
|
|
|
MessageCenterCommonEvent commonEvent = genMessageCenterCommonEvent(UFOScenes.UFO_SELLER_GOODS_SEND,uid,0,uid);
|
|
|
commonEvent.putInParams("orderCode",orderCode);
|
|
|
commonEvent.putInParams("productName",productName);
|
|
|
commonEvent.putInParams("size",size);
|
|
|
commonEvent.putInParams("goodsNumber",goodsNumber);
|
|
|
commonEvent.putInParams("limitTimeStr",limitTimeStr);
|
|
|
messageCenterMqHandler.sendMessageToMq(commonEvent);
|
|
|
return new SendMessageRspBo(200, "SUCCESS");
|
|
|
}
|
|
|
|
|
|
@Override
|
|
|
public SendMessageRspBo buyerCancelBooking(String uid, String orderCode, String productName, String size, String goodsNumber) {
|
|
|
MessageCenterCommonEvent commonEvent = genMessageCenterCommonEvent(UFOScenes.UFO_BUYER_CANCEL_BOOKING,uid,0,uid);
|
|
|
commonEvent.putInParams("orderCode",orderCode);
|
|
|
commonEvent.putInParams("productName",productName);
|
|
|
commonEvent.putInParams("size",size);
|
|
|
commonEvent.putInParams("goodsNumber",goodsNumber);
|
|
|
messageCenterMqHandler.sendMessageToMq(commonEvent);
|
|
|
return new SendMessageRspBo(200, "SUCCESS");
|
|
|
}
|
|
|
|
|
|
@Override
|
|
|
public SendMessageRspBo buyerCancel(String uid, String orderCode, String productName, String size, String goodsNumber) {
|
|
|
MessageCenterCommonEvent commonEvent = genMessageCenterCommonEvent(UFOScenes.UFO_BUYER_CANCEL,uid,0,uid);
|
|
|
commonEvent.putInParams("orderCode",orderCode);
|
|
|
commonEvent.putInParams("productName",productName);
|
|
|
commonEvent.putInParams("size",size);
|
|
|
commonEvent.putInParams("goodsNumber",goodsNumber);
|
|
|
messageCenterMqHandler.sendMessageToMq(commonEvent);
|
|
|
return new SendMessageRspBo(200, "SUCCESS");
|
|
|
}
|
|
|
|
|
|
@Override
|
|
|
public SendMessageRspBo buyerCancelSend(String uid, String orderCode, String productName, String size, String goodsNumber) {
|
|
|
MessageCenterCommonEvent commonEvent = genMessageCenterCommonEvent(UFOScenes.UFO_BUYER_CANCEL_SENDED,uid,0,uid);
|
|
|
commonEvent.putInParams("orderCode",orderCode);
|
|
|
commonEvent.putInParams("productName",productName);
|
|
|
commonEvent.putInParams("size",size);
|
|
|
commonEvent.putInParams("goodsNumber",goodsNumber);
|
|
|
messageCenterMqHandler.sendMessageToMq(commonEvent);
|
|
|
return new SendMessageRspBo(200, "SUCCESS");
|
|
|
}
|
|
|
} |
...
|
...
|
|