| | |
| | | import javax.annotation.Resource; |
| | | import javax.servlet.http.HttpServletRequest; |
| | | import java.io.InputStream; |
| | | import java.util.Base64; |
| | | import java.util.concurrent.TimeUnit; |
| | | |
| | | /** |
| | |
| | | } |
| | | |
| | | public static void main(String[] args) { |
| | | int nextInt = RandomUtils.nextInt(99999, 1000000); |
| | | System.out.println(nextInt); |
| | | // int nextInt = RandomUtils.nextInt(99999, 1000000); |
| | | // System.out.println(nextInt); |
| | | String basicStr = "2092261934651932672" + ":" + "de1c0dbb-9197-4724-9cc2-aa94e30a072f" + ":" + System.currentTimeMillis(); |
| | | String s = Base64.getEncoder().encodeToString(basicStr.getBytes()); |
| | | System.out.println(s); |
| | | |
| | | } |
| | | } |