RuoYi
2020-07-10 ec096965123b1e341f1ec80ea674c3d7de485d2e
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);