zhongrj
2024-04-12 6573adc2ce51c8b313969df5c6a93762b807285e
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);
    }
}