| | |
| | | package com.xcong.excoin; |
| | | |
| | | import cn.hutool.crypto.SecureUtil; |
| | | import com.xcong.excoin.modules.coin.dao.OrderCoinsDao; |
| | | import com.xcong.excoin.modules.coin.entity.OrderCoinsEntity; |
| | | import com.xcong.excoin.modules.coin.service.OrderCoinService; |
| | | import com.xcong.excoin.trade.CoinTrader; |
| | | import com.xcong.excoin.utils.RedisUtils; |
| | | import lombok.SneakyThrows; |
| | | import lombok.extern.slf4j.Slf4j; |
| | | import org.junit.jupiter.api.Test; |
| | | import org.springframework.boot.test.context.SpringBootTest; |
| | |
| | | import java.math.BigDecimal; |
| | | import java.text.ParseException; |
| | | import java.util.ArrayList; |
| | | import java.util.Iterator; |
| | | import java.util.List; |
| | | |
| | | @Slf4j |
| | |
| | | public void buy(){ |
| | | redisUtils.set("ROC_NEW_PRICE",new BigDecimal("12.33")); |
| | | } |
| | | |
| | | public static void main(String[] args) throws InterruptedException { |
| | | String s = SecureUtil.md5("330021"); |
| | | System.out.println(s); |
| | | } |
| | | } |