Helius
2021-06-08 7df87efaf21bae7f4cdf2a15d7eedc18838c28bc
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");
    }
}