|
|
@@ -491,9 +491,10 @@ public class LoginAppController extends BaseAppController {
|
|
|
obj = successResult(ErrorCode.code_1000, "手机号验证通过", returnMap);
|
|
|
}
|
|
|
}else {//验证并修改手机号
|
|
|
- String phone = requestMap.get("phone");
|
|
|
- String code = (String) CacheUtils.get(APP_USER, phone);
|
|
|
+ String newPhone = requestMap.get("new_phone");
|
|
|
+ String code = (String) CacheUtils.get(APP_USER, newPhone);
|
|
|
String getCode = requestMap.get("code");
|
|
|
+ System.out.println("code="+"getCode");
|
|
|
if (StringUtils.isNotBlank(code) && StringUtils.isNotBlank(getCode)) {
|
|
|
if (code.equals(getCode)) {
|
|
|
returnMap = hpUserService.editUserPhone(requestMap, type);
|