| | |
| | | /** |
| | | * 用户修改止损止盈价格、提价限价委托、下单爆仓价等消息 |
| | | * 后台打包开启 APP 不开启 |
| | | * @author helius |
| | | */ |
| | | @Component |
| | | @ConditionalOnProperty(prefix="app",name="newest-price-update-job",havingValue="true") |
| | | public class OperateOrderPriceConsumer { |
| | | |
| | | |
| | | |
| | | /** |
| | | * 用户修改止损止盈价格、提价限价委托、下单爆仓价等消息 |
| | | * @date 2019年4月19日 |
| | | * |
| | | * @param message 消息体 |
| | | * @param channel 信道 |
| | | * @date 2019年4月19日 |
| | | */ |
| | | @RabbitListener(queues = RabbitMqConfig.QUEUE_PRICEOPERATE) |
| | | public void onMessageMorePro(Message message, Channel channel) { |
| | |
| | | OrderOperatePriceService.dealWithNewMq(orderModel); |
| | | |
| | | } |
| | | |
| | | |
| | | |
| | | |
| | | } |