From abf782e4e9d505184652635aa0912781f572f843 Mon Sep 17 00:00:00 2001
From: kazelee <1847801760@qq.com>
Date: 星期四, 24 七月 2025 17:26:41 +0800
Subject: [PATCH] 后端实现添加物料绑定货位, 优化货位容器绑定时容器表插入, 多个物料信息记录的功能

---
 api/ImageController.cs |    6 ------
 1 files changed, 0 insertions(+), 6 deletions(-)

diff --git a/api/ImageController.cs b/api/ImageController.cs
index 984dd64..1c20899 100644
--- a/api/ImageController.cs
+++ b/api/ImageController.cs
@@ -6,17 +6,12 @@
 using System.Web.Http;
 
 namespace HH.WCS.Mobox3.AnGang.api {
-
-    //[RoutePrefix("api/image")]
     public class ImageController : ApiController {
-        //private readonly string _baseStoragePath = HttpContext.Current.Server.MapPath("~/StaticStorage");
         private readonly string _baseStoragePath = Path.Combine(AppDomain.CurrentDomain.BaseDirectory, "StaticStorage");
         private readonly string[] _allowedExtensions = { ".jpg", ".jpeg", ".png", ".gif", ".bmp" };
 
         // 涓婁紶鍥剧墖鎺ュ彛
         [HttpPost]
-        //[ActionName("Upload")]
-        //[Route("api/image/upload")]
         [Route("UploadImage")]
         public HttpResponseMessage UploadImage() {
             try {
@@ -72,7 +67,6 @@
 
         // 鑾峰彇鍥剧墖鎺ュ彛 - 瀹為檯鐢遍潤鎬佹枃浠跺鐞嗭紝杩欓噷鍙槸绀轰緥
         [HttpGet]
-        //[ActionName("Get")]
         [Route("static/image/{year}/{month}/{day}/{filename}")]
         public HttpResponseMessage GetImage(string year, string month, string day, string filename) {
             try {

--
Gitblit v1.9.1