Merge branch 'Test_IRC_Net8' of http://192.168.3.68:2000/XCKJ/irc-netcore-api into Test_IRC_Net8

IRC_NewDev
hang 2024-04-17 11:21:07 +08:00
commit bd7dd906fb
1 changed files with 1 additions and 1 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));