From 511f49a3ef8d454d0f65ec41b723d2a3b7d6e314 Mon Sep 17 00:00:00 2001
From: zainali5120 <512061637@qq.com>
Date: Wed, 12 May 2021 16:34:05 +0800
Subject: [PATCH] 优化波场同步区块为一分钟往队列放入一次区块号列表

---
 src/test/java/com/xcong/excoin/FollowTest.java |   20 ++++++++++++++++++++
 1 files changed, 20 insertions(+), 0 deletions(-)

diff --git a/src/test/java/com/xcong/excoin/FollowTest.java b/src/test/java/com/xcong/excoin/FollowTest.java
index 9dde5f5..3a2f865 100644
--- a/src/test/java/com/xcong/excoin/FollowTest.java
+++ b/src/test/java/com/xcong/excoin/FollowTest.java
@@ -1,12 +1,16 @@
 package com.xcong.excoin;
 
 import com.xcong.excoin.modules.documentary.service.FollowOrderOperationService;
+import com.xcong.excoin.quartz.job.FollowProfitUpdateJob;
+import com.xcong.excoin.rabbit.producer.FollowProducer;
 import com.xcong.excoin.utils.ThreadPoolUtils;
 import lombok.extern.slf4j.Slf4j;
 import org.junit.jupiter.api.Test;
+import org.springframework.beans.factory.annotation.Autowired;
 import org.springframework.boot.test.context.SpringBootTest;
 
 import javax.annotation.Resource;
+import java.math.BigDecimal;
 
 /**
  * @author wzy
@@ -25,4 +29,20 @@
 //        ThreadPoolUtils.sendFollowOrderTask(601L);
 
     }
+
+    @Test
+    public void strContainsTest() {
+        String symbols = "BTC,ETH,LTC,BCH";
+        String symbol = "BTC/USDT";
+
+        System.out.println(symbols.contains(symbol.replace("/USDT", "")));
+    }
+
+    @Autowired
+    private FollowProducer followProducer;
+
+    @Test
+    public void sendMsgTest() {
+//        followProducer.sendChangeFollowOrderBond(11L, new BigDecimal("1234.1234"));
+    }
 }

--
Gitblit v1.9.1