派生自 projectDept/qhighschool

Administrator
2023-01-03 ac19d6dc87b6ab6a5867a08bb5467203b1773a2f
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));
    }
}