From 1924bdeca6414b6fec314c37260b44f20865d593 Mon Sep 17 00:00:00 2001
From: 刘磊 <1161824510@qq.com>
Date: 星期四, 22 一月 2026 20:49:05 +0800
Subject: [PATCH] 代码同步,接口更新

---
 项目代码/WMS/WMSServer/WIDESEA_WMSServer/Controllers/MES/MESController.cs |   20 ++++++++++----------
 1 files changed, 10 insertions(+), 10 deletions(-)

diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WMSServer/WIDESEA_WMSServer/Controllers/MES/MESController.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WMSServer/WIDESEA_WMSServer/Controllers/MES/MESController.cs"
index 07fa43e..985afa2 100644
--- "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WMSServer/WIDESEA_WMSServer/Controllers/MES/MESController.cs"
+++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WMSServer/WIDESEA_WMSServer/Controllers/MES/MESController.cs"
@@ -7,7 +7,7 @@
 
 namespace WIDESEA_WMSServer.Controllers;
 
-[Route("api/BDC")]
+[Route("bdc")]
 [ApiController]
 public class MESController : Controller
 {
@@ -47,7 +47,7 @@
     /// </summary>
     /// <param name="json"></param>
     /// <returns></returns>
-    [HttpPost, Route("pushWorkOrderInfo"), AllowAnonymous]
+    [HttpPost, Route("painting/pushWorkOrderInfo"), AllowAnonymous]
     public WebResponseContent pushWorkOrderInfo([FromBody] object json)
     {
         return _MESService.pushWorkOrderInfo(json);
@@ -58,7 +58,7 @@
     /// </summary>
     /// <param name="json"></param>
     /// <returns></returns>
-    [HttpPost, Route("pushOrderInfo"), AllowAnonymous]
+    [HttpPost, Route("order/pushOrderInfo"), AllowAnonymous]
     public WebResponseContent pushOrderInfo([FromBody] object json)
     {
         return _MESService.pushOrderInfo(json);
@@ -69,7 +69,7 @@
     /// </summary>
     /// <param name="json"></param>
     /// <returns></returns>
-    [HttpPost, Route("removeWorkOrderInfo"), AllowAnonymous]
+    [HttpPost, Route("painting/removeWorkOrderInfo"), AllowAnonymous]
     public WebResponseContent removeWorkOrderInfo([FromBody] object json)
     {
         return _MESService.removeWorkOrderInfo(json);
@@ -81,9 +81,9 @@
     /// <param name="json"></param>
     /// <returns></returns>
     [HttpPost, Route("issuedCharacter"), AllowAnonymous]
-    public WebResponseContent issuedCharacter([FromBody] string carCode, string vin, string station)
+    public WebResponseContent issuedCharacter(string rfidPrint, string vin, string station,string palletCode)
     {
-        return _MESService.issuedCharacter(carCode, vin, station);
+        return _MESService.issuedCharacter(rfidPrint, vin, station, palletCode);
     }
 
     /// <summary>
@@ -92,7 +92,7 @@
     /// <param name="json"></param>
     /// <returns></returns>
     [HttpPost, Route("getCharacteristic"), AllowAnonymous]
-    public WebResponseContent getCharacteristic([FromBody] string station, string rfid)
+    public WebResponseContent getCharacteristic(string station, string rfid)
     {
         return _MESService.getCharacteristic(station, rfid);
     }
@@ -102,7 +102,7 @@
     /// </summary>
     /// <param name="stationCode"></param>
     /// <returns></returns>
-    [HttpPost, Route("pullLock"), AllowAnonymous]
+    [HttpPost, Route("order/pullLock"), AllowAnonymous]
     public WebResponseContent pullLock([FromBody] object json)
     {
         return _MESService.pullLock(json);
@@ -113,7 +113,7 @@
     /// </summary>
     /// <param name="stationCode"></param>
     /// <returns></returns>
-    [HttpPost, Route("syncOrderFeature"), AllowAnonymous]
+    [HttpPost, Route("order/syncOrderFeature"), AllowAnonymous]
     public WebResponseContent syncOrderFeature([FromBody] object json)
     {
         return _MESService.syncOrderFeature(json);
@@ -125,7 +125,7 @@
     /// <param name="stationCode"></param>
     /// <returns></returns>
     [HttpPost, Route("bindWorkOrder"), AllowAnonymous]
-    public WebResponseContent bindWorkOrder([FromBody] string station, string rfid)
+    public WebResponseContent bindWorkOrder(string station, string rfid)
     {
         return _MESService.bindWorkOrder(station, rfid);
     }

--
Gitblit v1.9.3