|
@@ -131,7 +131,7 @@ public class ImgVerServiceImpl implements ImgVerService {
|
|
|
throw new CommonException(ErrorCode.PARAM_IS_ERROR,
|
|
|
"图片验证码唯一标志不一致!");
|
|
|
}
|
|
|
- if (!(imgVerInfoRes.getCode().toUpperCase()).equals(imgVerInfo.getCode())) {
|
|
|
+ if (!(imgVerInfoRes.getCode()).equals(imgVerInfo.getCode().toUpperCase())) {
|
|
|
log.info("用户图片验证码不一致!验证码:{}", imgVerInfo.getCode());
|
|
|
throw new CommonException(ErrorCode.PARAM_IS_ERROR,
|
|
|
"用户图片验证码不一致!");
|