From 4b483d9d06bead231b88ca212fd799196668a057 Mon Sep 17 00:00:00 2001
From: wanshenmean <cathay_xy@163.com>
Date: 星期二, 28 四月 2026 22:58:27 +0800
Subject: [PATCH] fix(任务服务): 修复出库任务选择逻辑和货位分配问题
---
Code/WMS/WIDESEA_WMSServer/WIDESEA_Core/Middlewares/ApiLogMiddleware.cs | 13 +++----------
1 files changed, 3 insertions(+), 10 deletions(-)
diff --git a/Code/WMS/WIDESEA_WMSServer/WIDESEA_Core/Middlewares/ApiLogMiddleware.cs b/Code/WMS/WIDESEA_WMSServer/WIDESEA_Core/Middlewares/ApiLogMiddleware.cs
index 3b36860..86728ff 100644
--- a/Code/WMS/WIDESEA_WMSServer/WIDESEA_Core/Middlewares/ApiLogMiddleware.cs
+++ b/Code/WMS/WIDESEA_WMSServer/WIDESEA_Core/Middlewares/ApiLogMiddleware.cs
@@ -1,14 +1,8 @@
锘縰sing Microsoft.AspNetCore.Http;
using Microsoft.Extensions.Logging;
using Newtonsoft.Json;
-using Org.BouncyCastle.Asn1.Ocsp;
-using System;
-using System.Collections.Generic;
-using System.Linq;
using System.Net;
using System.Text;
-using System.Text.RegularExpressions;
-using System.Threading.Tasks;
using WIDESEA_Core.Helper;
using WIDESEA_Core.LogHelper;
@@ -20,7 +14,7 @@
public class ApiLogMiddleware
{
/// <summary>
- ///
+ ///
/// </summary>
private readonly RequestDelegate _next;
@@ -51,7 +45,7 @@
var json = new WebResponseContent();
json.Message = HttpStatusCode.InternalServerError.ToString();//閿欒淇℃伅
- json.Code = 500;//500寮傚父
+ json.Code = 500;//500寮傚父
StreamWriter streamWriter = new StreamWriter(context.Response.Body);
await streamWriter.WriteAsync(json.Serialize());
@@ -101,7 +95,6 @@
catch (Exception ex)
{
// 璁板綍寮傚父
-
}
finally
{
@@ -161,4 +154,4 @@
return "";
}
}
-}
+}
\ No newline at end of file
--
Gitblit v1.9.3