dodo hold 3 mesi fa
parent
commit
5a1a425f37

+ 12 - 12
molilian.api/Controllers/public/TaskController.cs

@@ -603,12 +603,12 @@ namespace molilian.api.Controllers
                     catch (Exception ex)
                     {
                         message = $"【报表接口异常】LastFastReport\n{ex.Message}\n{ex.StackTrace}";
-                        NotifyCore.Notify(new NifyMessage
-                        {
-                            message = message,
-                            priority = NifyMessagePriority.high,
-                            tags = ["red_circle"]
-                        });
+                        //NotifyCore.Notify(new NifyMessage
+                        //{
+                        //    message = message,
+                        //    priority = NifyMessagePriority.high,
+                        //    tags = ["red_circle"]
+                        //});
                         continue;
                     }
                 }
@@ -703,12 +703,12 @@ namespace molilian.api.Controllers
                         catch (Exception ex)
                         {
                             message = $"【报表接口异常】FastReport\n{ex.Message}\n{ex.StackTrace}";
-                            NotifyCore.Notify(new NifyMessage
-                            {
-                                message = message,
-                                priority = NifyMessagePriority.high,
-                                tags = ["red_circle"]
-                            });
+                            //NotifyCore.Notify(new NifyMessage
+                            //{
+                            //    message = message,
+                            //    priority = NifyMessagePriority.high,
+                            //    tags = ["red_circle"]
+                            //});
                             continue;
                         }
                     }

File diff suppressed because it is too large
+ 0 - 0
molilian.api/Properties/PublishProfiles/latest.pubxml.user


+ 6 - 6
molilian.core/Plus/Alimama/RefundOrders.cs

@@ -307,12 +307,12 @@ namespace molilian.core
                         {
                             RiskControlCore.SetRiskCookie($"tb:{_accountId}", "滑块");
                             string message = $"【GetTkRefundOrders】【{_accountId}:{_accountName}】第 {i} 次出现滑动验证码";
-                            NotifyCore.Notify(new NifyMessage
-                            {
-                                message = message,
-                                priority = NifyMessagePriority.high,
-                                tags = ["red_circle"]
-                            });
+                            //NotifyCore.Notify(new NifyMessage
+                            //{
+                            //    message = message,
+                            //    priority = NifyMessagePriority.high,
+                            //    tags = ["red_circle"]
+                            //});
                             await Task.Delay(i * 60 * 1000);
                             continue;
                         }

+ 6 - 6
molilian.core/Plus/Alimama/crawler.cs

@@ -686,12 +686,12 @@ namespace molilian.core
             catch (Exception ex)
             {
                 string message = $"【报表接口异常】FastReport\n{ex.Message}\n{ex.StackTrace}";
-                NotifyCore.Notify(new NifyMessage
-                {
-                    message = message,
-                    priority = NifyMessagePriority.high,
-                    tags = ["red_circle"]
-                });
+                //NotifyCore.Notify(new NifyMessage
+                //{
+                //    message = message,
+                //    priority = NifyMessagePriority.high,
+                //    tags = ["red_circle"]
+                //});
             }
         }
         private async Task EachSaveReportOverviewAsync(DateTime report_date, string tableName, TkReportDTO data)

+ 12 - 12
molilian.core/Plus/Alimama/orders.cs

@@ -365,12 +365,12 @@ SET  order_ord_num = order_ord_num_3 + order_ord_num_12 + order_ord_num_13 + ord
                     {
                         RiskControlCore.SetRiskCookie($"tb:{_accountId}", "滑块");
                         string message = $"【GetTkOrdersByAdZone】【{_accountId}:{_accountName}】出现滑动验证码";
-                        NotifyCore.Notify(new NifyMessage
-                        {
-                            message = message,
-                            priority = NifyMessagePriority.high,
-                            tags = ["red_circle"]
-                        });
+                        //NotifyCore.Notify(new NifyMessage
+                        //{
+                        //    message = message,
+                        //    priority = NifyMessagePriority.high,
+                        //    tags = ["red_circle"]
+                        //});
                         if (!_account.is_hide)
                         {
                             _ = NotifyCore.QYWeixinPushNotifyAsync(message, message);
@@ -541,12 +541,12 @@ SET  order_ord_num = order_ord_num_3 + order_ord_num_12 + order_ord_num_13 + ord
                     {
                         RiskControlCore.SetRiskCookie($"tb:{_accountId}", "滑块");
                         string message = $"【GetTkOrders】【{_accountId}:{_accountName}】出现滑动验证码";
-                        NotifyCore.Notify(new NifyMessage
-                        {
-                            message = message,
-                            priority = NifyMessagePriority.high,
-                            tags = ["red_circle"]
-                        });
+                        //NotifyCore.Notify(new NifyMessage
+                        //{
+                        //    message = message,
+                        //    priority = NifyMessagePriority.high,
+                        //    tags = ["red_circle"]
+                        //});
                         if (!_account.is_hide)
                         {
                             _ = NotifyCore.QYWeixinPushNotifyAsync(message, message);

Some files were not shown because too many files changed in this diff