333
This commit is contained in:
parent
249f803231
commit
553a2ec8bb
|
|
@ -1,10 +1,15 @@
|
|||
using Microsoft.AspNetCore.Mvc;
|
||||
|
||||
using MiniExcelLibs;
|
||||
|
||||
using SqlSugar;
|
||||
|
||||
using ZR.Model;
|
||||
using ZR.Model.System;
|
||||
using ZR.Model.System.Dto;
|
||||
|
||||
using static SKIT.FlurlHttpClient.Wechat.Api.Models.CgibinUserInfoBatchGetRequest.Types;
|
||||
|
||||
namespace ZR.Admin.WebApi.Controllers.System
|
||||
{
|
||||
/// <summary>
|
||||
|
|
@ -41,7 +46,7 @@ namespace ZR.Admin.WebApi.Controllers.System
|
|||
public IActionResult List([FromQuery] SysUserQueryDto user, PagerInfo pager)
|
||||
{
|
||||
var list = UserService.SelectUserList(user, pager);
|
||||
|
||||
|
||||
return SUCCESS(list);
|
||||
}
|
||||
|
||||
|
|
@ -110,6 +115,7 @@ namespace ZR.Admin.WebApi.Controllers.System
|
|||
parm = parm.ToUpdate();
|
||||
int upResult = UserService.UpdateUser(parm);
|
||||
|
||||
CacheService.RemoveUserPerms(key: GlobalConstant.UserPermKEY + parm.UserId);
|
||||
return ToResponse(upResult);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user