编译错误

IRC_NewDev
hang 2024-04-17 11:19:11 +08:00
parent dfb45d8391
commit c6dd323b80
1 changed files with 2 additions and 2 deletions

View File

@ -65,7 +65,7 @@ public class LimitUserRequestAuthorization : IAsyncAuthorizationFilter
//缓存中没有取到Token
if (string.IsNullOrWhiteSpace(cacheUserToken))
{
{2
//设置当前用户最新Token
await _provider.SetAsync(_userInfo.Id.ToString(), _userInfo.UserToken, TimeSpan.FromDays(7));
@ -83,7 +83,7 @@ public class LimitUserRequestAuthorization : IAsyncAuthorizationFilter
//过期了 需要自动退出
if(string.IsNullOrEmpty(cacheTime))
{
context.Result = new JsonResult(ResponseOutput.NotOk("登录无操作超时自动退出"), ApiResponseCodeEnum.AutoLoginOut));
context.Result = new JsonResult(ResponseOutput.NotOk("登录无操作超时自动退出"), ApiResponseCodeEnum.AutoLoginOut);
}
else
{