KKSU
2024-04-17 d23645e976981bc9b670eea1d469fe8a36be309c
src/test/java/com/xcong/excoin/FollowTest.java
@@ -2,12 +2,15 @@
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
@@ -35,11 +38,11 @@
        System.out.println(symbols.contains(symbol.replace("/USDT", "")));
    }
    @Resource
    private FollowProfitUpdateJob followProfitUpdateJob;
    @Autowired
    private FollowProducer followProducer;
    @Test
    public void updateJobTest() {
        followProfitUpdateJob.traderProfitUpdate();
    public void sendMsgTest() {
//        followProducer.sendChangeFollowOrderBond(11L, new BigDecimal("1234.1234"));
    }
}