From a979b4ac22ddaba5012d32bbce2f1e44144e13d3 Mon Sep 17 00:00:00 2001
From: zhengyuxuan <zhengyuxuan1995>
Date: 星期三, 19 三月 2025 17:32:15 +0800
Subject: [PATCH] fix:新增重置密码接口

---
 LifePayment/LifePayment.HttpApi/LifePay/UserRoleController.cs |   14 +++++++++++++-
 1 files changed, 13 insertions(+), 1 deletions(-)

diff --git a/LifePayment/LifePayment.HttpApi/LifePay/UserRoleController.cs b/LifePayment/LifePayment.HttpApi/LifePay/UserRoleController.cs
index b1413ec..2add6da 100644
--- a/LifePayment/LifePayment.HttpApi/LifePay/UserRoleController.cs
+++ b/LifePayment/LifePayment.HttpApi/LifePay/UserRoleController.cs
@@ -73,12 +73,24 @@
                 PhoneNumber = input.PhoneNumber,
                 UserName = input.UserName,
                 RoleNames = input.RoleNames,
-                Password = input.Password,
             });
             return await _userRoleService.UpdateBackClientUser(input);
         }
 
         /// <summary>
+        /// 閲嶇疆瀵嗙爜
+        /// </summary>
+        /// <param name="input"></param>
+        /// <returns></returns>
+        [HttpPost]
+        public virtual async Task<int> ResetUserPassword(ResetPasswordBaseInput input)
+        {
+            await _userRoleService.ResetPassword(input);
+
+            return Constant.SUCCESS;
+        }
+
+        /// <summary>
         /// 鍒犻櫎鍚庡彴绠$悊璐︽埛
         /// </summary>
         /// <param name="id">鐢ㄦ埛Id</param>

--
Gitblit v1.9.1