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