|
|
|
|
32
|
String phoneCode = (String) AppkeyCache.getCache(phone);
|
32
|
String phoneCode = (String) AppkeyCache.getCache(phone);
|
33
|
if ("2468".equals(code)) {
|
33
|
if ("2468".equals(code)) {
|
34
|
|
34
|
|
35
|
- }else if (StringUtils.isBlank(phoneCode)) {
|
|
|
|
|
35
|
+ }else if (StringUtils.isBlank(code)) {
|
36
|
throw new WisdomException("请输入验证码!");
|
36
|
throw new WisdomException("请输入验证码!");
|
37
|
} else if (!phoneCode.equals(code)) {
|
37
|
} else if (!phoneCode.equals(code)) {
|
38
|
throw new WisdomException("验证码错误!");
|
38
|
throw new WisdomException("验证码错误!");
|