Sxile
2020-07-17 aad58640dcaab7bed4f9720b57bb7f0cc2c4e343
ruoyi/src/main/java/com/ruoyi/common/utils/VerifyCodeUtils.java
@@ -139,10 +139,12 @@
    private static Color getRandColor(int fc, int bc)
    {
        if (fc > 255)
        if (fc > 255) {
            fc = 255;
        if (bc > 255)
        }
        if (bc > 255) {
            bc = 255;
        }
        int r = fc + random.nextInt(bc - fc);
        int g = fc + random.nextInt(bc - fc);
        int b = fc + random.nextInt(bc - fc);