修改发布参数

This commit is contained in:
2024-04-17 11:35:30 +08:00
parent b1c0933428
commit fc579d9cf4
5 changed files with 10 additions and 4 deletions
@@ -83,6 +83,8 @@ public class LimitUserRequestAuthorization : IAsyncAuthorizationFilter
//过期了 需要自动退出
if(string.IsNullOrEmpty(cacheTime))
{
context.HttpContext.Response.ContentType = "application/json";
context.HttpContext.Response.StatusCode = StatusCodes.Status200OK;
context.Result = new JsonResult(ResponseOutput.NotOk("登录无操作超时自动退出"), ApiResponseCodeEnum.AutoLoginOut);
}
else