Sxile
2020-06-19 5bd2838b2b99e45c6cb0cba377395e941ea0de2f
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);