1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
| package com.qxueyou.scc.base.util;
| /**
| * 数字随机
| * @author iqtogether
| *
| */
| public class NumRandomUtils {
| /**
| * 随机6位数字
| * @return
| */
| public static String randomSixNum(){
| return String.valueOf((int)((Math.random()*9+1)*100000));
| }
| }
|
|