From 70ad97e3d7047adba6a1a136d4d6b7cb7d697b28 Mon Sep 17 00:00:00 2001
From: wzy <wzy19931122ai@163.com>
Date: Sat, 05 Jun 2021 18:40:09 +0800
Subject: [PATCH] modify
---
src/test/java/com/xcong/excoin/OtcTest.java | 10 ++++++++++
1 files changed, 10 insertions(+), 0 deletions(-)
diff --git a/src/test/java/com/xcong/excoin/OtcTest.java b/src/test/java/com/xcong/excoin/OtcTest.java
index c939525..2f2a67e 100644
--- a/src/test/java/com/xcong/excoin/OtcTest.java
+++ b/src/test/java/com/xcong/excoin/OtcTest.java
@@ -9,6 +9,7 @@
import com.xcong.excoin.modules.otc.dao.OtcMarketBussinessDao;
import com.xcong.excoin.modules.otc.entity.OtcMarketBussiness;
import com.xcong.excoin.quartz.job.OtcOrderJob;
+import com.xcong.excoin.rabbit.consumer.OtcConsumer;
import com.xcong.excoin.rabbit.producer.OtcProducter;
import lombok.extern.slf4j.Slf4j;
import org.junit.jupiter.api.Test;
@@ -110,4 +111,13 @@
System.out.println(one.multiply(two));
}
+
+ @Autowired
+ private OtcConsumer otcConsumer;
+
+ @Test
+ public void returnMoneyTest() {
+// otcConsumer.orderReturn("20210605446780002");
+ otcProducter.sendOrderReturn("20210605446780002");
+ }
}
--
Gitblit v1.9.1