Explorar o código

初始化redis

lcl hai 4 meses
pai
achega
35a1e6cd79
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      Startup.cs

+ 1 - 0
Startup.cs

@@ -108,6 +108,7 @@ namespace MySystem
             MySystemLib.SystemPublicFuction.dbtables = tables;
 
             RedisDbconn.csredis = new CSRedis.CSRedisClient(Configuration["Setting:RedisConnStr"]);
+            KxsRedisDbconn.csredis = new CSRedis.CSRedisClient(Configuration["Setting:KxsRedisConnStr"]);
         }
 
         // This method gets called by the runtime. Use this method to configure the HTTP request pipeline.