puzhibing
2023-08-17 9e4440e8ce1ed3c72932f3f62f4d05f55c9080e6
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
package com.supersavedriving.driver.core.util;
 
import com.supersavedriving.driver.config.properties.GunsProperties;
 
/**
 * 验证码工具类
 */
public class KaptchaUtil {
 
    /**
     * 获取验证码开关
     */
    public static Boolean getKaptchaOnOff() {
        return SpringContextHolder.getBean(GunsProperties.class).getKaptchaOpen();
    }
}