Explorar el Código

获取jwt的token修复

lcl hace 1 año
padre
commit
b0904a6607
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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;