lcl 1 Minggu lalu
induk
melakukan
25e3eb5f2e
1 mengubah file dengan 12 tambahan dan 0 penghapusan
  1. 12 0
      Controllers/HomeController.cs

+ 12 - 0
Controllers/HomeController.cs

@@ -157,5 +157,17 @@ namespace MySystem.Controllers
             return "ok";
         }
 
+        public string addorder(string day)
+        {
+            string content = function.ReadInstance("/4/" + day + "/content.log");
+            MatchCollection mc = Regex.Matches(content, "{.*?}");
+            foreach(Match m in mc)
+            {
+                string sub = m.Value;
+                RedisDbconn.Instance.AddList("WeChatPayBackHd", sub);
+            }
+            return "ok";
+        }
+
     }
 }