登录账户任意填写都能登录的BUG
This commit is contained in:
@@ -20,9 +20,9 @@ namespace dy.net.service
|
||||
return await _userRepository.UpdatePwd(loginUser);
|
||||
}
|
||||
|
||||
public async Task<LoginUserInfo> GetUser()
|
||||
public async Task<LoginUserInfo> GetUser(string userName=null)
|
||||
{
|
||||
return await _userRepository.GetUser();
|
||||
return await _userRepository.GetUser(userName);
|
||||
}
|
||||
|
||||
public async Task<bool> UpdateAvatar(string avatar)
|
||||
|
||||
Reference in New Issue
Block a user