lcl 3 сар өмнө
parent
commit
8e1b5eb38d

+ 11 - 0
Controllers/HomeController.cs

@@ -212,5 +212,16 @@ namespace MySystem.Controllers
             
             return result;
         }
+
+        public string push2()
+        {
+            List<string> list = new List<string>();
+            string result = ",";
+            foreach(string sub in list)
+            {
+                result += function.GetWebRequest("https://logic-executor-api.kexiaoshuang.com/noauth/prize/push?n=QUEUE_KXS_HAODA_PRIZE_CONFIG_DIVISION&m=" + sub) + ",";
+            }
+            return result;
+        }
     }
 }

+ 1 - 1
Util/Queue/PosRePushHelper.cs

@@ -47,7 +47,7 @@ namespace MySystem
         {
             string url = "";
             WebCMSEntities db = new WebCMSEntities();
-            DateTime check = DateTime.Now.AddMinutes(-30);
+            DateTime check = DateTime.Now.AddMinutes(-3);
             List<PushPosRecord> list = db.PushPosRecord.Where(m => m.CreateDate >= check).OrderBy(m => m.Id).ToList();
             foreach(PushPosRecord sub in list)
             {