|
@@ -238,7 +238,7 @@ public class SmsUtil {
|
|
|
DescribeCaptchaResultResponse resp = client.DescribeCaptchaResult(req);
|
|
DescribeCaptchaResultResponse resp = client.DescribeCaptchaResult(req);
|
|
|
//1 OK 验证通过
|
|
//1 OK 验证通过
|
|
|
Long captchaCode = resp.getCaptchaCode();
|
|
Long captchaCode = resp.getCaptchaCode();
|
|
|
- if (captchaCode != 0) {
|
|
|
|
|
|
|
+ if (captchaCode != 1) {
|
|
|
log.error("腾讯云图形验证错误:{}", resp.getCaptchaMsg());
|
|
log.error("腾讯云图形验证错误:{}", resp.getCaptchaMsg());
|
|
|
throw BusinessRuntimeException.getInstance("图形验证失败");
|
|
throw BusinessRuntimeException.getInstance("图形验证失败");
|
|
|
}
|
|
}
|