| | |
| | | |
| | | import cc.mrbird.febs.dapp.service.DappSystemService; |
| | | import cc.mrbird.febs.rabbit.QueueConstants; |
| | | import cn.hutool.core.date.DateUtil; |
| | | import com.rabbitmq.client.Channel; |
| | | import lombok.extern.slf4j.Slf4j; |
| | | import org.springframework.amqp.core.Message; |
| | | import org.springframework.amqp.rabbit.annotation.RabbitListener; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.boot.autoconfigure.condition.ConditionalOnProperty; |
| | |
| | | log.error("speedDirectPerkErr:", e); |
| | | } |
| | | } |
| | | |
| | | /** |
| | | * speed 卖出资产 |
| | | */ |
| | | @RabbitListener(queues = QueueConstants.QUEUE_SPEED_SALE_PACKAGE) |
| | | public void speedSalePackageMsg(Long flowId) { |
| | | log.info("speedSalePackageMsg:{}", flowId); |
| | | try { |
| | | dappSystemService.speedSalePackageMsg(flowId); |
| | | } catch (Exception e) { |
| | | log.error("speedSalePackageErr:", e); |
| | | } |
| | | } |
| | | } |