Authored by chenchao

add mq config

... ... @@ -211,7 +211,7 @@ public class SellerDepositOrderController {
.page(page)
.limit(limit).build();
logger.info("in method=ufo.depositOrderInStore.list req {}", req);
PageResp<DepositOrderInStorePrdListResp> resp = sellerDepositOrderService.getDepositOrderListInStore(req);
PageResp<DepositOrderInStorePrdListResp> resp = sellerDepositOrderListService.getDepositOrderListInStore(req);
return new ApiResponse.ApiResponseBuilder()
.code(200)
.message("寄存订单入库单查询成功")
... ...
... ... @@ -6,6 +6,7 @@ import com.yohobuy.ufo.model.order.common.OrderAttributes;
import com.yohobuy.ufo.model.order.constants.SellerDepositOrderListType;
import com.yohobuy.ufo.model.order.req.SellerDepositOrderListReq;
import com.yohobuy.ufo.model.order.req.SellerDepositOrderPrdListReq;
import com.yohobuy.ufo.model.order.resp.DepositOrderInStorePrdListResp;
import com.yohobuy.ufo.model.order.resp.PageResp;
import com.yohobuy.ufo.model.order.resp.SellerDepositOrderListResp;
import com.yohobuy.ufo.model.order.vo.GoodsVo;
... ... @@ -127,6 +128,11 @@ public class SellerDepositOrderListService {
.productList(productList)
.build();
}
public PageResp<DepositOrderInStorePrdListResp> getDepositOrderListInStore(SellerDepositOrderPrdListReq req){
return null;
}
OrderAttributes getOrderAttributes(){
return OrderAttributes.DEPOSITE;
}
... ...
... ... @@ -103,6 +103,12 @@ public class SellerDepositOrderService extends AbsGoodsServiceOrderService imple
@Autowired
private PayRefundService payRefundService;
@Autowired
private ServiceOrderProcessor serviceOrderProcessor;
@Autowired
IPaymentService paymentService;
public SellerDepositOrderComputeResp compute(SellerDepositOrderComputeReq req){
... ... @@ -180,15 +186,9 @@ public class SellerDepositOrderService extends AbsGoodsServiceOrderService imple
public PageResp<DepositOrderInStorePrdListResp> getDepositOrderListInStore(SellerDepositOrderPrdListReq req){
return null;
}
@Autowired
private ServiceOrderProcessor serviceOrderProcessor;
@Autowired
IPaymentService paymentService;
public void cancel(SellerDepositOrderDetailReq req){
//TODO
... ...
... ... @@ -72,6 +72,11 @@ consumer:
delay:
interval: 10
- class: com.yohoufo.order.mq.consumer.SellerDepositOrderAutoCancelMsgConsumer
topic: sellerDepositOrder.autoCancel
delay:
interval: 10
#更新物流调拨信息
- address: 192.168.102.45:5672
username: yoho
... ...
... ... @@ -83,6 +83,11 @@ consumer:
delay:
interval: 10080
- class: com.yohoufo.order.mq.consumer.SellerDepositOrderAutoCancelMsgConsumer
topic: sellerDepositOrder.autoCancel
delay:
interval: 10
- address: ${rabbit_ufo}
username: ${rabbit_ufo_user}
password: ${rabbit_ufo_password}
... ...