登录获取手机号报错问题
This commit is contained in:
parent
756a9aa2fe
commit
1848230528
|
|
@ -182,10 +182,10 @@ public class LoginContoller {
|
||||||
if (ObjectUtil.isNotEmpty(data) && JSONObject.parseObject(data).containsKey("phoneNumber")) {
|
if (ObjectUtil.isNotEmpty(data) && JSONObject.parseObject(data).containsKey("phoneNumber")) {
|
||||||
return Result.success(CodeEnum.SUCCESS, JSONObject.parseObject(data).get("phoneNumber"));
|
return Result.success(CodeEnum.SUCCESS, JSONObject.parseObject(data).get("phoneNumber"));
|
||||||
}
|
}
|
||||||
} finally {
|
} catch (Exception e){
|
||||||
return Result.fail("获取手机号失败");
|
|
||||||
}
|
|
||||||
|
|
||||||
|
}
|
||||||
|
return Result.fail("获取手机号失败");
|
||||||
}
|
}
|
||||||
|
|
||||||
@Resource
|
@Resource
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue