From 41a5531dc31a642623f0a7a766fbe9c256ba9247 Mon Sep 17 00:00:00 2001
From: dengjunjie <dengjunjie@hnkhzn.com>
Date: 星期二, 11 二月 2025 13:53:29 +0800
Subject: [PATCH] 优化WMS前端
---
项目代码/WCS/WIDESEAWCS_Server/WIDESEAWCS_Server/Controllers/Interface/AGVController.cs | 8 ++++++--
1 files changed, 6 insertions(+), 2 deletions(-)
diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_Server/Controllers/Interface/AGVController.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_Server/Controllers/Interface/AGVController.cs"
index e671b1a..d27009d 100644
--- "a/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_Server/Controllers/Interface/AGVController.cs"
+++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_Server/Controllers/Interface/AGVController.cs"
@@ -4,8 +4,12 @@
using WIDESEAWCS_Core;
using WIDESEAWCS_Core.BaseController;
using WIDESEAWCS_DTO.AGVInfo;
+using WIDESEAWCS_DTO.TaskInfo;
+using WIDESEAWCS_ITaskInfoService;
+using WIDESEAWCS_Model.Models;
using WIDESEAWCS_QuartzJob;
using WIDESEAWCS_QuartzJob.DeviceBase;
+using WIDESEAWCS_Tasks;
using WIDESEAWCS_Tasks.ConveyorLineJob.ConveyorLineExtend;
namespace WIDESEAWCS_Server.Controllers
@@ -14,7 +18,7 @@
/// AGV鎺ュ彛
/// </summary>
[Route("api/AGV")]
- [ApiController]
+ [ApiController, AllowAnonymous]
public class AGVController : Controller
{
/// <summary>
@@ -22,7 +26,7 @@
/// </summary>
/// <param name="saveModel">璇锋眰鍙傛暟</param>
/// <returns></returns>
- [HttpPost, Route("AGVRequestin"), AllowAnonymous]
+ [HttpPost, Route("AGVRequestin")]
public WebResponseContent AGVRequestin([FromBody] ConveyorLineDTO saveModel)
{
return AGVsignal.AGVRequestin(saveModel);
--
Gitblit v1.9.3