获取手机号 移除

This commit is contained in:
2024-07-23 09:16:53 +08:00
parent 752fd56c44
commit 0cf417322b
2 changed files with 0 additions and 17 deletions

View File

@@ -188,12 +188,4 @@ public class LoginService {
return Result.success(SUCCESS,shopInfo);
}
public Result getPhone(Integer userId) {
TbUserInfo userInfo = userInfoMapper.selectByPrimaryKey(userId);
if (userInfo != null) {
return Result.success(SUCCESS, userInfo.getTelephone());
}
return Result.success(SUCCESS, "");
}
}