From 836a9ca2258d92f27a749cb93fc12604dd420545 Mon Sep 17 00:00:00 2001
From: lingling <kety1122@163.com>
Date: 星期三, 19 三月 2025 14:30:59 +0800
Subject: [PATCH] 添加filter
---
LifePayment/LifePayment.Application/User/AccountService.cs | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/LifePayment/LifePayment.Application/User/AccountService.cs b/LifePayment/LifePayment.Application/User/AccountService.cs
index 3f8cd2e..bf2d4e3 100644
--- a/LifePayment/LifePayment.Application/User/AccountService.cs
+++ b/LifePayment/LifePayment.Application/User/AccountService.cs
@@ -33,6 +33,7 @@
IWxManager wxManager,
IConfiguration configuration,
IIdentityModelAuthenticationService authenticator,
+ IRepository<User, Guid> userRepository,
IIdentityUserAppService identityUserService,
IRepository<LifePayUser, Guid> lifePayUserRepository)
{
@@ -41,6 +42,7 @@
_identityUserService = identityUserService;
_lifePayUserRepository = lifePayUserRepository;
_authenticator = authenticator;
+ _userRepository = userRepository;
}
#region 鏌ヨ
@@ -90,6 +92,7 @@
lifeUser = new LifePayUser()
{
Id = GuidGenerator.Create(),
+ CreationChannleNum = input.CheckChannelId,
PhoneNumber = input.PhoneNumber,
LastLoginTime = DateTime.Now
};
@@ -98,6 +101,7 @@
}
else
{
+ lifeUser.LastLoginChannleNum = input.CheckChannelId;
lifeUser.LastLoginTime = DateTime.Now;
await _lifePayUserRepository.UpdateAsync(lifeUser);
}
--
Gitblit v1.9.1