zhengyuxuan
2025-03-24 42825aec6eb61203a0e26528575d180bccfd9f92
fix:创建账号bug修复
2个文件已修改
7 ■■■■ 已修改文件
LifePayment/LifePayment.Application.Contracts/User/CreateBackClientUserInput.cs 5 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
LifePayment/LifePayment.Application/LifePaymentServicesApplicationModuleAutoMapperProfile.cs 2 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
LifePayment/LifePayment.Application.Contracts/User/CreateBackClientUserInput.cs
@@ -1,5 +1,7 @@
using System;
using LifePayment.Domain.Shared;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using ZeroD.Util;
namespace LifePayment.Application.Contracts
@@ -24,6 +26,7 @@
        /// <summary>
        /// 账户
        /// </summary>
        [RegularExpression(LifePaymentConstant.RegularExpression.UserNameEx, ErrorMessage = "账号格式不正确")]
        public string UserName { get; set; }
        public string Remark { get; set; }
LifePayment/LifePayment.Application/LifePaymentServicesApplicationModuleAutoMapperProfile.cs
@@ -14,6 +14,8 @@
            CreateMap<CreateLifePayOrderInput, LifePayOrder>(MemberList.None);
            CreateMap<CreateEditPayChannelsInput, LifePayChannles>(MemberList.None);
            CreateMap<CreateBackClientUserInput, CreateAccountInput>(MemberList.None);
            #endregion
        }
    }