From fe1a0613d48e9b76b474d22073e72feda23b0d5c Mon Sep 17 00:00:00 2001 From: zhaozhengjie <237651143@qq.com> Date: 星期六, 17 九月 2022 18:57:13 +0800 Subject: [PATCH] Merge branch 'haucheng_panzhihua' into huacheng_test --- springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/service/impl/RentingHourseOrderServiceImpl.java | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/service/impl/RentingHourseOrderServiceImpl.java b/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/service/impl/RentingHourseOrderServiceImpl.java index ab1a5e4..4cedd14 100644 --- a/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/service/impl/RentingHourseOrderServiceImpl.java +++ b/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/service/impl/RentingHourseOrderServiceImpl.java @@ -115,7 +115,7 @@ rentingHourseRegister.setStatus(2); rentingHourseRegister.setDetailStatus(4); rentingHourseRegisterDao.updateById(rentingHourseRegister); - rabbitTemplate.convertAndSend("order.exchange", "order.key", rentingHourseOrder, message -> { + rabbitTemplate.convertAndSend("huacheng.order.exchange", "huacheng.order.key", rentingHourseOrder, message -> { message.getMessageProperties().setHeader("x-delay", dateToSecond(DateUtil.endOfDay(DateUtil.date())) * 1000 * 3600); return message; }); @@ -128,7 +128,7 @@ rentingHourseRegister.setStatus(2); rentingHourseRegister.setDetailStatus(4); rentingHourseRegisterDao.updateById(rentingHourseRegister); - rabbitTemplate.convertAndSend("preOrder.exchange", "preOrder.key", rentingHoursePreOrder, message -> { + rabbitTemplate.convertAndSend("huacheng.preOrder.exchange", "huacheng.preOrder.key", rentingHoursePreOrder, message -> { message.getMessageProperties().setHeader("x-delay", dateToSecond(rentingHoursePreOrder.getExpireDate()) * 1000 * 3600); return message; }); -- Gitblit v1.7.1