From a6a33f6916afbf1fc629baecb772939cda2ee981 Mon Sep 17 00:00:00 2001
From: wankeda <Administrator@DESKTOP-HAU3ST3>
Date: 星期四, 13 三月 2025 17:58:12 +0800
Subject: [PATCH] 代码提交
---
代码管理/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/System/Sys_UserController.cs | 14 ++++++++++++++
1 files changed, 14 insertions(+), 0 deletions(-)
diff --git "a/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/System/Sys_UserController.cs" "b/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/System/Sys_UserController.cs"
index 47d63c8..89b85a0 100644
--- "a/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/System/Sys_UserController.cs"
+++ "b/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/System/Sys_UserController.cs"
@@ -2,6 +2,7 @@
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Caching.Memory;
+using SqlSugar;
using StackExchange.Profiling;
using WIDESEA_Core;
using WIDESEA_Core.Authorization;
@@ -14,6 +15,7 @@
using WIDESEA_ISystemService;
using WIDESEA_Model;
using WIDESEA_Model.Models;
+using ICacheService = WIDESEA_Core.Caches.ICacheService;
namespace WIDESEA_WMSServer.Controllers
{
@@ -35,6 +37,11 @@
{
return Json(Service.Login(loginInfo));
}
+ [HttpPost, Route("login1"), AllowAnonymous]
+ public IActionResult Login1([FromBody] LoginInfo loginInfo)
+ {
+ return Json(Service.Login1(loginInfo));
+ }
[HttpPost, Route("getCurrentUserInfo")]
public WebResponseContent GetCurrentUser()
@@ -48,6 +55,13 @@
return Json(Service.ModifyPwd(oldPwd, newPwd));
}
+ [HttpPost,Route("modifyUserPwd")]
+ public WebResponseContent modifyUserPwd(string userName, string password)
+ {
+ return Service.modifyUserPwd(userName, password);
+ }
+
+
[HttpGet, Route("getVierificationCode"), AllowAnonymous]
public IActionResult GetVierificationCode()
{
--
Gitblit v1.9.3