From 0b9645f03ab8246876af01c85e8cc0d0b6e6ed63 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=99=88=E4=BC=9F?= <421281095@qq.com> Date: Sat, 29 Nov 2025 10:51:48 +0800 Subject: [PATCH] =?UTF-8?q?fix(manage):=20=E6=B3=A8=E9=87=8A=E6=8E=89?= =?UTF-8?q?=E6=99=BA=E8=83=BD=E5=B7=A1=E6=A3=80=E7=BB=93=E6=9D=9F=E9=80=BB?= =?UTF-8?q?=E8=BE=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 注释掉了获取配置和调用停止检测接口的代码 - 避免因配置缺失或网络问题导致的任务异常终止 - 保留原有数据库事务提交逻辑不变 --- OpenAuth.App/ServiceApp/ManageApp.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/OpenAuth.App/ServiceApp/ManageApp.cs b/OpenAuth.App/ServiceApp/ManageApp.cs index 8efbc05..fc79a85 100644 --- a/OpenAuth.App/ServiceApp/ManageApp.cs +++ b/OpenAuth.App/ServiceApp/ManageApp.cs @@ -2668,11 +2668,11 @@ namespace OpenAuth.App.ServiceApp db.Ado.BeginTran(); await db.Updateable(task).IgnoreNullColumns().ExecuteCommandAsync(); db.Ado.CommitTran(); - var config = ConfigHelper.GetConfigRoot(); + /*var config = ConfigHelper.GetConfigRoot(); var url = config["AIModelApi:Url"]; // 结束智能巡检 using var httpClient = new HttpClient(); - await httpClient.PostAsync($"{url}/stop_detection", null); + await httpClient.PostAsync($"{url}/stop_detection", null);*/ } catch (Exception ex) {