123
This commit is contained in:
@@ -120,6 +120,9 @@ public class IndexController {
|
||||
@Log(title = "获取指定用户主页信息", businessType = BusinessType.OTHER, isSaveDb = false)
|
||||
public R<UserInfoVo> info(Long userId){
|
||||
UserInfoVo res = userService.info(userId);
|
||||
if(res.getCity() == null){
|
||||
res.setCity("");
|
||||
}
|
||||
return R.ok(res);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user