zhongrj
2024-05-29 a5fac95408a43ad43de9d88c30d06c0918c7bc8f
1
2
3
4
5
6
7
package org.springblade.common.utils;
 
public class UtilRandom {
    public static Integer randomCount(Integer start, Integer end) {
        return (int) (Math.random() * (end - start + 1) + start);
    }
}