From 481c2276623c9f12ce5452334422b8b1322fed45 Mon Sep 17 00:00:00 2001 From: zhengyiming <540361168@qq.com> Date: 星期一, 31 三月 2025 10:14:53 +0800 Subject: [PATCH] fix: bug --- LifePayment/LifePayment.Application.Contracts/User/CreateBackClientUserInput.cs | 22 ++++++++++++++++++++-- 1 files changed, 20 insertions(+), 2 deletions(-) diff --git a/LifePayment/LifePayment.Application.Contracts/User/CreateBackClientUserInput.cs b/LifePayment/LifePayment.Application.Contracts/User/CreateBackClientUserInput.cs index 74cce24..02bb938 100644 --- a/LifePayment/LifePayment.Application.Contracts/User/CreateBackClientUserInput.cs +++ b/LifePayment/LifePayment.Application.Contracts/User/CreateBackClientUserInput.cs @@ -1,5 +1,7 @@ -锘縰sing System; +锘縰sing LifePayment.Domain.Shared; +using System; using System.Collections.Generic; +using System.ComponentModel.DataAnnotations; using ZeroD.Util; namespace LifePayment.Application.Contracts @@ -17,8 +19,14 @@ public string PhoneNumber { get; set; } /// <summary> + /// 瀵嗙爜 + /// </summary> + public string Password { get; set; } + + /// <summary> /// 璐︽埛 /// </summary> + //[RegularExpression(LifePaymentConstant.RegularExpression.UserNameEx, ErrorMessage = "璐﹀彿鏍煎紡涓嶆纭�")] public string UserName { get; set; } public string Remark { get; set; } @@ -31,7 +39,7 @@ /// <summary> /// 娓犻亾鍒楄〃 /// </summary> - public Guid[] ChannlesId { get; set; } + public string[] ChannlesId { get; set; } /// <summary> /// 缁勭粐鏋舵瀯鍏徃id @@ -80,6 +88,16 @@ public string Remark { get; set; } } + /// <summary> + /// 閲嶇疆瀵嗙爜鍩虹杈撳叆鍙傛暟 + /// </summary> + public class ResetPasswordBaseInput + { + public Guid UserId { get; set; } + + public string? Password { get; set; } + } + public class UpdateBackClientUserInput : CreateBackClientUserInput { /// <summary> -- Gitblit v1.9.1