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