Browse Source

初始化redis

lcl 4 tháng trước cách đây
mục cha
commit
35a1e6cd79
1 tập tin đã thay đổi với 1 bổ sung0 xóa
  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.