release- 报名抽奖取消异步

release-2024-04-25
pikaqiudeshujia 5 days ago
parent c1ee460b9a
commit 66fc3d4184

@ -460,8 +460,9 @@ public class LotteryService {
LotteryRegion byLotteryIdAndRegionId = lotteryRegionDao.findByLotteryIdAndRegionId(id, regionId); LotteryRegion byLotteryIdAndRegionId = lotteryRegionDao.findByLotteryIdAndRegionId(id, regionId);
drawDTO.setShowTime(byLotteryIdAndRegionId.getShowTime()); drawDTO.setShowTime(byLotteryIdAndRegionId.getShowTime());
} }
rabbitTemplate.convertAndSend("draw", drawDTO); // rabbitTemplate.convertAndSend("draw", drawDTO);
// 取消异步调用
userPointLogService.executeDraw(drawDTO);
} }
/** /**

Loading…
Cancel
Save