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_WMSServer/Controllers/System/Sys_UserController.cs | 15 ++++++---------
1 files changed, 6 insertions(+), 9 deletions(-)
diff --git a/Code/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/System/Sys_UserController.cs b/Code/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/System/Sys_UserController.cs
index 63e52b8..cee5a84 100644
--- a/Code/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/System/Sys_UserController.cs
+++ b/Code/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/System/Sys_UserController.cs
@@ -1,17 +1,12 @@
锘縰sing Microsoft.AspNetCore.Authorization;
-using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
-using Microsoft.Extensions.Caching.Memory;
using Newtonsoft.Json;
-using StackExchange.Profiling;
using WIDESEA_Core;
using WIDESEA_Core.Authorization;
using WIDESEA_Core.BaseController;
using WIDESEA_Core.Caches;
-using WIDESEA_Core.Const;
using WIDESEA_Core.Extensions;
using WIDESEA_Core.Helper;
-using WIDESEA_Core.HttpContextUser;
using WIDESEA_Core.Utilities;
using WIDESEA_ISystemService;
using WIDESEA_Model;
@@ -114,11 +109,13 @@
return Json(data);
}
+
[HttpGet, Route("SerializeJwt"), AllowAnonymous]
public WebResponseContent SerializeJwt(string code)
{
return WebResponseContent.Instance.OK(data: JwtHelper.SerializeJwt(code));
}
+
/// <summary>
/// 鏇挎崲Token锛堝埛鏂颁护鐗岋級
/// </summary>
@@ -150,18 +147,18 @@
{
return responseContent.Error(ex.Message);
}
-
}
+
/// <summary>
/// 鏇存柊瀵嗙爜
/// </summary>
/// <param name="password">瀵嗙爜</param>
/// <param name="userName">鐢ㄦ埛鍚�</param>
/// <returns></returns>
- [HttpPost,Route("ModifyUserPwd")]
+ [HttpPost, Route("ModifyUserPwd")]
public WebResponseContent ModifyUserPwd(string password, string userName)
{
- return Service.ModifyUserPwd(password,userName);
+ return Service.ModifyUserPwd(password, userName);
}
}
@@ -170,4 +167,4 @@
public string name { get; set; }
public string pwd { get; set; }
}
-}
+}
\ No newline at end of file
--
Gitblit v1.9.3