修改创建的临时token
continuous-integration/drone/push Build is passing Details

Test_HIR_Net8
hang 2025-04-01 17:04:50 +08:00
parent 69216ae75d
commit eb9bb75825
1 changed files with 1 additions and 1 deletions

View File

@ -752,7 +752,7 @@ namespace IRaCIS.Core.Application.Service
var accountList = _userRepository.Where(t => t.EMail == email && t.UserTypeEnum != UserTypeEnum.SuperAdmin)
.ProjectTo<UserAccountInfo>(_mapper.ConfigurationProvider).OrderBy(t => t.UserTypeShortName).ToList();
var hirToken = _tokenService.GetToken(IRaCISClaims.Create(new UserBasicInfo() { UserName = tjUserInfo.Data.UserName }));
var hirToken = _tokenService.GetToken(IRaCISClaims.Create(new UserBasicInfo() { Id = Guid.NewGuid(), UserName = tjUserInfo.Data.UserName }));
return ResponseOutput.Ok(accountList, hirToken);