sueblue 6 years ago
parent
commit
28d38e1543

+ 1 - 1
ThematicArticleSpider/Main/Job/AutoGenerateM55128CNIndexPage.cs

@@ -387,7 +387,7 @@ namespace Main.Job
 
                     string lottery_ball = lottery_redball.ToString() + lottery_blueball.ToString();
                     //奖池
-                    string lottery_jackpot = string.Format(lottery_jackpot_tmp, data.MoneyPond == null ? "0.00" : $"{Convert.ToDouble(data.MoneyPond):N2}");
+                    string lottery_jackpot = string.Format(lottery_jackpot_tmp, data.MoneyCount == null ? "0.00" : $"{Convert.ToDouble(data.MoneyCount):N2}");
                     //更多
                     string more = string.Format(more_tmp, other_url[data.LotteryType][0]);
                     //开奖详情

+ 7 - 7
ThematicArticleSpider/Main/Program.cs

@@ -12,14 +12,14 @@ namespace Main
     {
         static void Main(string[] args)
         {
-            //ServiceBase[] services = new ServiceBase[]
-            //{
-            //    new ThematicArticleSpiderService()
-            //};
-            //ServiceBase.Run(services);
+            ServiceBase[] services = new ServiceBase[]
+            {
+                new ThematicArticleSpiderService()
+            };
+            ServiceBase.Run(services);
 
-            JobManage job = new JobManage();
-            job.JobStart();
+            //JobManage job = new JobManage();
+            //job.JobStart();
 
         }
     }