Authored by qinchao

Revert "测试环境的 mq 时间修改 ,测试完之后需要revert"

This reverts commit eb98d8aa.
... ... @@ -3,7 +3,6 @@ package com.yohoufo.order.controller;
import com.yohoufo.common.ApiResponse;
import com.yohoufo.order.model.response.AssetsResp;
import com.yohoufo.order.service.impl.AssetsService;
import com.yohoufo.order.service.quartz.PreSaleOrderJob;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
... ... @@ -22,22 +21,6 @@ public class AssetsController {
@Autowired
private AssetsService assetsService;
@Autowired
private PreSaleOrderJob preSaleOrderJob;
/**
* 测试环境,定时任务手动触发
* 测试完之后去掉
* @return
*/
@RequestMapping(params = "method=ufo.qc.test")
@ResponseBody
public ApiResponse getAssetsDetails(){
logger.info("in ufo.qc.test");
preSaleOrderJob.process("");
return new ApiResponse.ApiResponseBuilder().code(200).data(null).message("ok").build();
}
@RequestMapping(params = "method=ufo.asssets.details")
... ...
... ... @@ -31,7 +31,6 @@ public class BuyerMiniFaultOuterTimeHandler implements IEventHandler<BuyerMiniFa
@Subscribe
public void handle(BuyerMiniFaultOuterTimeEvent event) {
int minutes = DelayTime.MINI_FAULT_CONFIRM_OUTER_TIME_MINUTE;
minutes = 15;
logger.info("Subscribe Buyer mini fault delay msg, event {},minutes {}", event,minutes);
tradeMqSender.send(TopicConstants.BUYER_ORDER_MINI_FAULT_AUTO_REJECT, event,minutes );
... ...
... ... @@ -40,7 +40,6 @@ public class SellerCancelDeliverHandler implements IEventHandler<SellerCancelDel
public void handle(SellerCancelDeliverEvent event) {
int ts = DateUtil.getCurrentTimeSecond();
int minutes = deliveryMinutesService.getDeliverMinutesThird(ts);
minutes = 20;
String topic = TopicConstants.SELLER_ORDER_AUTO_CANCEL_DELIVER;
logger.info("Subscribe Buyer Confirm delay msg,topic {}, delay minutes {} , event {}",topic,minutes, event);
... ...
... ... @@ -23,7 +23,7 @@ consumer:
- class: com.yohoufo.order.mq.consumer.BuyerOrderMiniFaultOuterTimeDelayMsgConsumer
topic: buyerOrder.miniFaultAutoReject
delay:
interval: 15
interval: 2880
#卖家物流揽收情况检查 24小时
- class: com.yohoufo.order.mq.consumer.BuyerOrderSellerDeliveryCheckMsgConsumer
... ... @@ -56,7 +56,7 @@ consumer:
- class: com.yohoufo.order.mq.consumer.SellerOrderCancelDeliverDelayMsgConsumer
topic: sellerOrder.autoCancelDeliver
delay:
interval: 20
interval: 2160
# 平台鉴定不能确定补发优惠券回调
- class: com.yohoufo.order.mq.consumer.BuyerCouponSendResultForAppraiseUnsureConsumer
... ...