...
|
...
|
@@ -12,6 +12,7 @@ import com.yohoufo.dal.product.model.Product; |
|
|
import com.yohoufo.msg.cache.CacheKeyBuilder;
|
|
|
import com.yohoufo.msg.concurrent.ThreadPoolFactory;
|
|
|
import com.yohoufo.msg.config.CaseIdConfig;
|
|
|
import com.yohoufo.msg.constants.PushToken;
|
|
|
import com.yohoufo.msg.model.NoticeCaseNode;
|
|
|
import com.yohoufo.msg.model.NoticeRuleNode;
|
|
|
import com.yohoufo.msg.model.PrdMsg;
|
...
|
...
|
@@ -54,13 +55,14 @@ public class MsgService { |
|
|
TabType seller = TabType.SELL;
|
|
|
logger.info("enter noticeSellerWhenBuyerBidSuccess, uidList {} sku {}", uidList, sellerOrderGoods.getStorageId());
|
|
|
ThreadPoolExecutor executorService = ThreadPoolFactory.getPushExecutorService4Seller();
|
|
|
PushToken pushToken = PushToken.UFO_BIDORDER_PAID_SUCCESS;
|
|
|
new Processer().caseRules(CaseIdConfig.BUYER_BID_SUCCESS_NOTICE_SELLER)
|
|
|
.logTitle("noticeSellerWhenBuyerBidSuccess")
|
|
|
.executorService(executorService)
|
|
|
.uidList(uidList)
|
|
|
.tabType(seller)
|
|
|
.sceneKey("UFO_BIDORDER_PAID_SUCCESS")
|
|
|
.securityKey("df09fe86-7499-4ef9-a99b-d9c8a0fb5f01")
|
|
|
.sceneKey(pushToken.getSceneKey())
|
|
|
.securityKey(pushToken.getSecurityKey())
|
|
|
.pushPrdMsg(sellerOrderGoods, product);
|
|
|
}
|
|
|
|
...
|
...
|
@@ -68,13 +70,14 @@ public class MsgService { |
|
|
public SendMessageRspBo noticeBuyerWhenSellerOnShelve(List<Integer> uidList, SellerOrderGoods sellerOrderGoods, Product product){
|
|
|
logger.info("enter noticeBuyerWhenSellerOnShelve, uidList {} sku {}", uidList, sellerOrderGoods.getStorageId());
|
|
|
ThreadPoolExecutor executorService = ThreadPoolFactory.getPushExecutorService4Buyer();
|
|
|
PushToken pushToken = PushToken.UFO_BIDORDER_SELLER_ONSHELVE;
|
|
|
new Processer().caseRules(CaseIdConfig.SELLER_ONSHELVE_NOTICE_BUYER_OF_BIDORDER)
|
|
|
.logTitle("noticeBuyerWhenSellerOnShelve")
|
|
|
.executorService(executorService)
|
|
|
.uidList(uidList)
|
|
|
.tabType(TabType.BUY)
|
|
|
.sceneKey("UFO_BIDORDER_SELLER_ONSHELVE")
|
|
|
.securityKey("7df7714f-f3b6-4dcf-92c2-d9b2c7ca896b")
|
|
|
.sceneKey(pushToken.getSceneKey())
|
|
|
.securityKey(pushToken.getSecurityKey())
|
|
|
.pushPrdMsg(sellerOrderGoods, product);
|
|
|
|
|
|
return new SendMessageRspBo();
|
...
|
...
|
|