feat 数据敏感分配角色可见,切换基地,定时任务lock
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
using Dlhis.Sys.Identity.Response;
|
||||
using Dlhis.Sys.Identity.Services;
|
||||
using Kurisu.AspNetCore.DataAccess.Dto;
|
||||
using Kurisu.AspNetCore.DataAccess.SqlSugar.Aop;
|
||||
using Microsoft.AspNetCore.Authorization;
|
||||
using Microsoft.AspNetCore.Mvc;
|
||||
|
||||
@@ -86,4 +87,15 @@ public class UsersController : ControllerBase
|
||||
{
|
||||
await _userService.UploadUserAvatarAsync(request);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 重置登陆
|
||||
/// </summary>
|
||||
/// <param name="request"></param>
|
||||
[Transactional]
|
||||
[HttpPost("reloginInfo")]
|
||||
public async Task ResetLoginTenantAsync(UserResetLoginTenantRequest request)
|
||||
{
|
||||
await _userService.ResetLoginTenantAsync(request);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user