From f0c3d69b6d97faef544eafc841ecb6d995ca7be6 Mon Sep 17 00:00:00 2001
From: yl <ykxkd@outlook.com>
Date: 星期二, 01 十一月 2022 18:14:30 +0800
Subject: [PATCH] 设备清单导入接口开发,安灯响应接口修改
---
VueWebApi/Controllers/AppDeviceManageController.cs | 10 +++++-----
1 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/VueWebApi/Controllers/AppDeviceManageController.cs b/VueWebApi/Controllers/AppDeviceManageController.cs
index f90b734..1196265 100644
--- a/VueWebApi/Controllers/AppDeviceManageController.cs
+++ b/VueWebApi/Controllers/AppDeviceManageController.cs
@@ -14,7 +14,7 @@
{
[RoutePrefix(prefix: "api/AppDeviceManage")]
[ControllerGroup("App璁惧绠$悊", "鍦ㄧ嚎鎺ュ彛")]
- [ChannelActionFilterAttributeApp]
+ //[ChannelActionFilterAttributeApp]
public class AppDeviceManageController : ApiController
{
//瀹氫箟鍏ㄥ眬淇℃伅杩斿洖鍙橀噺
@@ -175,7 +175,7 @@
[HttpPost]
public HttpResponseMessage RepairScanDeviceSave()
{
- string docu_code= HttpContext.Current.Request["docu_code"].ToString();//缁翠慨鐢宠鍗曞彿
+ string docu_code = HttpContext.Current.Request["docu_code"].ToString();//缁翠慨鐢宠鍗曞彿
string username = HttpContext.Current.Request["username"].ToString();//鎿嶄綔浜哄憳
string eqpcode = HttpContext.Current.Request["eqpcode"].ToString();//璁惧缂栫爜
string wkshpcode = HttpContext.Current.Request["wkshpcode"].ToString(); //杞﹂棿缂栫爜
@@ -184,7 +184,7 @@
string repaircontent = HttpContext.Current.Request["repaircontent"].ToString(); //缁翠慨鍐呭
string replaceparts = HttpContext.Current.Request["replaceparts"].ToString(); //鏇存崲澶囦欢
HttpFileCollection files = HttpContext.Current.Request.Files;
- mes = AppDeviceManageBLL.RepairScanDeviceSave(docu_code,username, eqpcode, wkshpcode, faultdescr, is_stoprepair, repaircontent, replaceparts, files);
+ mes = AppDeviceManageBLL.RepairScanDeviceSave(docu_code, username, eqpcode, wkshpcode, faultdescr, is_stoprepair, repaircontent, replaceparts, files);
return TJson.toJson(mes);
}
#endregion
@@ -214,9 +214,9 @@
/// <returns></returns>
[Route(template: "RepairVerificationScanDeviceDataSub")]
[HttpGet]
- public HttpResponseMessage RepairVerificationScanDeviceDataSub(string repair_code, string eqpcode,string wkshpcode)
+ public HttpResponseMessage RepairVerificationScanDeviceDataSub(string repair_code, string eqpcode, string wkshpcode)
{
- mes = AppDeviceManageBLL.RepairVerificationScanDeviceDataSub(repair_code,eqpcode, wkshpcode);
+ mes = AppDeviceManageBLL.RepairVerificationScanDeviceDataSub(repair_code, eqpcode, wkshpcode);
return TJson.toJson(mes);
}
#endregion
--
Gitblit v1.9.3