Browse Source

更改es/redis的ip端口

Lgx 4 years ago
parent
commit
53d0ff8984

File diff suppressed because it is too large
+ 895 - 0
Member/MemberUI/src/pages/tag/addTag_setting copy.js


File diff suppressed because it is too large
+ 61 - 46
Member/MemberUI/src/pages/tag/addTag_setting.js


+ 1 - 1
Member/MemberWeb/Commonss/RedisUtil.cs

@@ -14,7 +14,7 @@ namespace MemberWeb.Commonss
 {
     public static class RedisUtil
     {
-        public static string connectionredis = "192.168.50.34:6379,poolsize=3,tryit=0,password=360lj.com!";
+        public static string connectionredis = "192.168.50.41:6379,poolsize=3,tryit=0,password=360lj.com!";
         //public static string connectionredis = "127.0.0.1:6379,poolsize=3,tryit=0";
         public static int timeCont = 86400;//数据过期时间
         public static DateTime dateTime = DateTime.Parse(DateTime.Now.ToString());

+ 1 - 1
Member/MemberWeb/Commonss/Util.cs

@@ -40,7 +40,7 @@ namespace SupplierWeb.Commonss
             return obj;
         }
 
-        static string HOST = "http://192.168.50.34:9200/";
+        static string HOST = "http://192.168.50.32:9200/";
         public static string ElasticCall(string url, string method, string query)
         {
             HttpWebRequest myReq = (HttpWebRequest)WebRequest.Create(HOST + url);

+ 1 - 1
Member/MemberWeb/Controllers/ES_DataStaisController.cs

@@ -45,7 +45,7 @@ namespace SupplierWeb.Controllers
             string redisKey = "1_redis_stais";//缓存Key
             Object query = null;
             DateTime dateTime = DateTime.Parse(DateTime.Now.ToString());
-            string orderStr = "{\"ym"+ dateTime.AddDays(-30).ToString("yyyyMM") + ".RM\":{\"order\":\"desc\"}}";
+            string orderStr = "{\"ym"+ dateTime.AddDays(-60).ToString("yyyyMM") + ".RM\":{\"order\":\"desc\"}}";
                 if (data != null)
                 {
                     filters = data.filters.ToObject<QueryFilter[]>();

+ 1 - 1
Member/MemberWeb/appsettings.json

@@ -17,5 +17,5 @@
     "MyConnectionString": "Data Source =192.168.50.32; Initial Catalog =MemberData; Persist Security Info = True; User ID =sa; Password =saljhy123!@#",
     "AllowedHosts": "*"
   },
-  "EsUrl": "http://192.168.50.34:9200/"
+  "EsUrl": "http://192.168.50.32:9200/"
 }