瀏覽代碼

补订单

lcl 2 周之前
父節點
當前提交
25e3eb5f2e
共有 1 個文件被更改,包括 12 次插入0 次删除
  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";
+        }
+
     }
 }