From 05a9d230c8f515bc59b491311bd2897b82164fab Mon Sep 17 00:00:00 2001 From: huangxiaoqiang <huangxiaoqiang@hnkhzn.com> Date: 星期六, 12 七月 2025 18:31:49 +0800 Subject: [PATCH] 增强异常处理错误信息返回在 `TaskService.cs` 文件中,更新了异常处理逻辑,错误信息现在包含异常的堆栈跟踪信息 `ex.StackTrace`,以提供更详细的调试信息。 --- Code Management/WCS/WIDESEAWCS_Server/WIDESEAWCS_Server/Controllers/System/Sys_UserController.cs | 8 +++++++- 1 files changed, 7 insertions(+), 1 deletions(-) diff --git a/Code Management/WCS/WIDESEAWCS_Server/WIDESEAWCS_Server/Controllers/System/Sys_UserController.cs b/Code Management/WCS/WIDESEAWCS_Server/WIDESEAWCS_Server/Controllers/System/Sys_UserController.cs index 4d1ac2b..f866bf1 100644 --- a/Code Management/WCS/WIDESEAWCS_Server/WIDESEAWCS_Server/Controllers/System/Sys_UserController.cs +++ b/Code Management/WCS/WIDESEAWCS_Server/WIDESEAWCS_Server/Controllers/System/Sys_UserController.cs @@ -44,7 +44,13 @@ { return Json(Service.ModifyPwd(oldPwd, newPwd)); } - + //鍙兘瓒呯骇绠$悊鍛樻墠鑳戒慨鏀瑰瘑鐮� + //2020.08.01澧炲姞淇敼瀵嗙爜鍔熻兘 + [HttpPost, Route("modifyUserPwd")] + public IActionResult ModifyUserPwd(string password, string userName) + { + return Json(Service.ModifyUserPwd(password, userName)); + } [HttpGet, Route("getVierificationCode"), AllowAnonymous] public IActionResult GetVierificationCode() { -- Gitblit v1.9.3