From 37a0d618c0b33cd817f6ed12c0b54743a2af0ff3 Mon Sep 17 00:00:00 2001 From: zhengyuxuan <zhengyuxuan1995> Date: 星期四, 27 三月 2025 13:40:03 +0800 Subject: [PATCH] Merge branch 'master' into dev-lifepay-v1.3 --- LifePayment/LifePayment.Application/User/AccountService.cs | 10 +++++----- 1 files changed, 5 insertions(+), 5 deletions(-) diff --git a/LifePayment/LifePayment.Application/User/AccountService.cs b/LifePayment/LifePayment.Application/User/AccountService.cs index f0af87b..11dcf39 100644 --- a/LifePayment/LifePayment.Application/User/AccountService.cs +++ b/LifePayment/LifePayment.Application/User/AccountService.cs @@ -160,11 +160,11 @@ public async Task<Guid> CreateAccount(CreateAccountInput input, bool isSend, bool isAdminCreate = false) { - if (input.ClientId == LifePaymentConstant.ClientId.Back) - { - CheckExtensions.IfTrueThrowUserFriendlyException(!input.CompanyOrgId.HasValue || !input.DepartmentOrgId.HasValue, - "鎵�灞炲叕鍙稿拰閮ㄩ棬涓嶈兘涓虹┖"); - } + //if (input.ClientId == LifePaymentConstant.ClientId.Back) + //{ + // CheckExtensions.IfTrueThrowUserFriendlyException(!input.CompanyOrgId.HasValue || !input.DepartmentOrgId.HasValue, + // "鎵�灞炲叕鍙稿拰閮ㄩ棬涓嶈兘涓虹┖"); + //} var any = await _userRepository.Where(x => x.PhoneNumber == input.PhoneNumber && x.ClientId == input.ClientId).AnyAsync(); CheckExtensions.IfTrueThrowUserFriendlyException(any, -- Gitblit v1.9.1