@@ -34,7 +34,7 @@ public interface ICode {
}else if (StringUtils.isBlank(code)) {
throw new WisdomException("请输入验证码!");
- } else if (!phoneCode.equals(code)) {
+ } else if (!code.equals(phoneCode)) {
throw new WisdomException("验证码错误!");
}
// 设置验证码为null字符