| | |
| | | import com.xcong.excoin.modules.member.entity.MemberWalletContractEntity; |
| | | import com.xcong.excoin.modules.platform.entity.PlatformTradeSettingEntity; |
| | | import com.xcong.excoin.modules.symbols.service.SymbolsService; |
| | | import com.xcong.excoin.quartz.job.UsdtCnyExchangePriceUpdateJob; |
| | | import com.xcong.excoin.rabbit.producer.OrderProducer; |
| | | import com.xcong.excoin.utils.CacheSettingUtils; |
| | | import com.xcong.excoin.utils.CalculateUtil; |
| | |
| | | import com.xcong.excoin.utils.RedisUtils; |
| | | 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; |
| | |
| | | @Test |
| | | public void holdAmountTest() { |
| | | try { |
| | | contractHoldOrderService.calHoldOrderHoldFeeAmount(); |
| | | contractHoldOrderService.calHoldFeeAmountForBondAmount(); |
| | | } catch (Exception e) { |
| | | log.info("-->", e); |
| | | } |
| | | } |
| | | |
| | | @Autowired |
| | | private UsdtCnyExchangePriceUpdateJob usdtCnyExchangePriceUpdateJob; |
| | | |
| | | @Test |
| | | public void usdtCnyTest() { |
| | | usdtCnyExchangePriceUpdateJob.updateUsdtCnyExchange(); |
| | | } |
| | | } |