From 769413fc5ff52240f001fb4bcfcca21728fb275a Mon Sep 17 00:00:00 2001
From: ningshuxia <ningshuxia0927@outlook.com>
Date: 星期四, 25 四月 2024 09:38:19 +0800
Subject: [PATCH] WebApi 整理

---
 WebApi/IStation.Application.Core/1-dispatch/1-solution/DispatchSolution_Controller.cs |   10 ++--------
 1 files changed, 2 insertions(+), 8 deletions(-)

diff --git a/WebApi/IStation.Application.Core/1-dispatch/1-solution/DispatchSolution_Controller.cs b/WebApi/IStation.Application.Core/1-dispatch/1-solution/DispatchSolution_Controller.cs
index 88d37b1..7380c86 100644
--- a/WebApi/IStation.Application.Core/1-dispatch/1-solution/DispatchSolution_Controller.cs
+++ b/WebApi/IStation.Application.Core/1-dispatch/1-solution/DispatchSolution_Controller.cs
@@ -1,10 +1,4 @@
-锘縰sing Microsoft.AspNetCore.Authorization;
-using System.Net.WebSockets;
-using System.Text;
-using Yw.Application;
-using Yw.Newtonsoft;
-
-namespace IStation.Application
+锘縩amespace IStation.Application
 {
     /// <summary>
     /// 璋冨害鏂规
@@ -33,7 +27,7 @@
             if (scadaOutput == null || scadaOutput.Scadas == null)
             {
                 Log.Info(flowId, "Scada:鏁版嵁鑾峰彇澶辫触锛岃皟搴︾粓姝�!");
-                throw YOops.Oh(eResultCode.Error, ErrorCodes.L001, "Scada:鏁版嵁鑾峰彇澶辫触锛岃皟搴︾粓姝�!");
+                throw YOops.Oh(eResultCode.Error, InternalErrorCodes.L001, "Scada:鏁版嵁鑾峰彇澶辫触锛岃皟搴︾粓姝�!");
             }
 
             return TempOutHelper.GetDispatchSolutionOutput(input.FlowId);

--
Gitblit v1.9.3