用户账号获取
This commit is contained in:
parent
a24692f31f
commit
3db86bfc1a
|
|
@ -101,6 +101,17 @@ public class UserInfoController {
|
|||
return ResultGenerator.genSuccessResult();
|
||||
}
|
||||
|
||||
/**
|
||||
* 用户账号获取
|
||||
* @param userId 用户主键
|
||||
* @return 用户账号
|
||||
*/
|
||||
@GetMapping("/getPhoneByUserId")
|
||||
public Result<?> getPhoneByUserId(@RequestParam String userId) {
|
||||
UserInfo userInfo = userInfoNewService.getById(userId);
|
||||
return ResultGenerator.genSuccessResult(userInfo == null ? null : userInfo.getLoginName());
|
||||
}
|
||||
|
||||
|
||||
@GetMapping("/verifyPhoneIsExist")
|
||||
@ApiOperation(tags = {"页面-注册", "页面-H5注册", "页面-分享注册", "页面-会员开卡", "页面-分享_直接开户"}, value = "未注册手机号并获取验证码", notes = "验证该手机号是否注册,未注册即发送验证码", httpMethod = "GET")
|
||||
|
|
|
|||
Loading…
Reference in New Issue