From 1b9edb4a720edd2dd7d87caba881c3ca16c0d8bd Mon Sep 17 00:00:00 2001
From: zhengyiming <540361168@qq.com>
Date: 星期一, 24 三月 2025 14:53:34 +0800
Subject: [PATCH] Merge branch 'master' of http://120.26.58.240:8888/r/LifePaymentApi
---
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