From 9eb6dc41797cbace32a65877067a9c9ac3154f7a Mon Sep 17 00:00:00 2001
From: yl <ykxkd@outlook.com>
Date: 星期日, 09 十月 2022 19:41:15 +0800
Subject: [PATCH] 安灯呼叫、安灯响应接口开发
---
VueWebApi/Controllers/AppDeviceManageController.cs | 39 ++++++++++++++++++++++++++++++++++++---
1 files changed, 36 insertions(+), 3 deletions(-)
diff --git a/VueWebApi/Controllers/AppDeviceManageController.cs b/VueWebApi/Controllers/AppDeviceManageController.cs
index a5bebdf..e09050f 100644
--- a/VueWebApi/Controllers/AppDeviceManageController.cs
+++ b/VueWebApi/Controllers/AppDeviceManageController.cs
@@ -156,11 +156,11 @@
/// 璁惧缁翠慨鍒楄〃
/// </summary>
/// <returns></returns>
- [Route(template: "RepairScanDeviceQrCodeData")]
+ [Route(template: "RepairScanDeviceQrCodeDataList")]
[HttpGet]
- public HttpResponseMessage RepairScanDeviceQrCodeData()
+ public HttpResponseMessage RepairScanDeviceQrCodeDataList()
{
- mes = AppDeviceManageBLL.RepairScanDeviceQrCodeData();
+ mes = AppDeviceManageBLL.RepairScanDeviceQrCodeDataList();
return TJson.toJson(mes);
}
#endregion
@@ -289,5 +289,38 @@
+
+ #region[瀹夌伅鍝嶅簲鎵弿宸ヤ綅/璁惧]
+ /// <summary>
+ /// 瀹夌伅鍝嶅簲鎵弿宸ヤ綅/璁惧
+ /// </summary>
+ /// <param name="eqpcode">璁惧/宸ヤ綅缂栫爜</param>
+ /// <returns></returns>
+ [Route(template: "AppDeviceAnDengLampResponseScanSearch")]
+ [HttpPost]
+ public HttpResponseMessage AppDeviceAnDengLampResponseScanSearch(string eqpcode)
+ {
+ mes = AppDeviceManageBLL.AppDeviceAnDengLampResponseScanSearch(eqpcode);
+ return TJson.toJson(mes);
+ }
+ #endregion
+
+ #region[瀹夌伅鍝嶅簲鎻愪氦]
+ /// <summary>
+ /// 瀹夌伅鍝嶅簲鎻愪氦
+ /// </summary>
+ /// <param name="username">鐧诲綍浜哄憳</param>
+ /// <param name="eqpcode">璁惧缂栫爜</param>
+ /// <param name="wkshpcode">杞﹂棿缂栫爜</param>
+ /// <param name="json">鎻愪氦鏁版嵁</param>
+ /// <returns></returns>
+ [Route(template: "AppDeviceAnDengLampResponseSave")]
+ [HttpPost]
+ public HttpResponseMessage AppDeviceAnDengLampResponseSave(string username, string eqpcode, string wkshpcode, List<ObjectData> json)
+ {
+ mes = AppDeviceManageBLL.AppDeviceAnDengLampResponseSave(username, eqpcode, wkshpcode, json);
+ return TJson.toJson(mes);
+ }
+ #endregion
}
}
--
Gitblit v1.9.3