RandomUtil.randomNumbers
获得一个只包含数字的字符串
importcn.hutool.core.util.RandomUtil; publicclassTest { publicstaticvoidmain(String[] args) { System.out.println(RandomUtil.randomNumbers(5)); } }
RandomUtil.randomNumbers
获得一个只包含数字的字符串importcn.hutool.core.util.RandomUtil; publicclassTest { publicstaticvoidmain(String[] args) { System.out.println(RandomUtil.randomNumbers(5)); } }