Mod get_user_info in service_user, handle isother
Signed-off-by: Asai Neko <sugar@sne.moe>
This commit is contained in:
@@ -80,7 +80,9 @@ func (self *UserServiceImpl) GetUserInfo(payload *UserInfoPayload) (result *User
|
||||
HttpCode: 404,
|
||||
Exception: exception,
|
||||
},
|
||||
Data: nil,
|
||||
Data: &UserInfoData{
|
||||
AllowPublic: &userData.AllowPublic,
|
||||
},
|
||||
}
|
||||
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user