fix(sso): 修复StringUtils.isBlank编译错误
改用cn.hutool.core.util.StrUtil.isBlank() Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
5028ec4b8f
commit
1cbffca35b
@ -4,6 +4,7 @@ import cn.hutool.captcha.CaptchaUtil;
|
||||
import cn.hutool.captcha.ICaptcha;
|
||||
import cn.hutool.captcha.generator.RandomGenerator;
|
||||
import cn.hutool.core.util.IdUtil;
|
||||
import cn.hutool.core.util.StrUtil;
|
||||
import com.css.ggzc.framework.common.pojo.CommonResult;
|
||||
import com.css.txw.sso.properties.SsoProperties;
|
||||
import org.springframework.context.annotation.Bean;
|
||||
@ -91,7 +92,7 @@ public class VerifyServiceImpl implements VerifyService {
|
||||
if (!this.ssoProperties.isLoginCaptcha()) {
|
||||
return true;
|
||||
}
|
||||
if (org.springframework.util.StringUtils.isBlank(uuid) || org.springframework.util.StringUtils.isBlank(code)) {
|
||||
if (StrUtil.isBlank(uuid) || StrUtil.isBlank(code)) {
|
||||
return false;
|
||||
}
|
||||
String key = formatCaptchaKey(uuid);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user