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