Sfoglia il codice sorgente

获取jwt的token修复

lcl 1 anno fa
parent
commit
b0904a6607
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      AppStart/PublicFunction.cs

+ 1 - 1
AppStart/PublicFunction.cs

@@ -144,7 +144,7 @@ namespace MySystem
 
         public static string AppToken(int UserId, string JwtSecret, string JwtIss, string tag = "")
         {
-            string Token = RedisDbconn.Instance.Get<string>("apptoken:" + UserId);
+            string Token = RedisDbconn.Instance.Get<string>("apptoken:" + UserId + tag);
             if(!string.IsNullOrEmpty(Token))
             {
                 return Token;