From 2ece861c311599d31c96ab36fcf3b19d6208d552 Mon Sep 17 00:00:00 2001
From: zhengyuxuan <zhengyuxuan1995>
Date: 星期三, 19 三月 2025 13:13:39 +0800
Subject: [PATCH] fix:账号管理新增渠道

---
 LifePayment/LifePayment.Application/User/AccountService.cs |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/LifePayment/LifePayment.Application/User/AccountService.cs b/LifePayment/LifePayment.Application/User/AccountService.cs
index 96b3ae8..bf2d4e3 100644
--- a/LifePayment/LifePayment.Application/User/AccountService.cs
+++ b/LifePayment/LifePayment.Application/User/AccountService.cs
@@ -92,6 +92,7 @@
                 lifeUser = new LifePayUser()
                 {
                     Id = GuidGenerator.Create(),
+                    CreationChannleNum = input.CheckChannelId,
                     PhoneNumber = input.PhoneNumber,
                     LastLoginTime = DateTime.Now
                 };
@@ -100,6 +101,7 @@
             }
             else
             {
+                lifeUser.LastLoginChannleNum = input.CheckChannelId;
                 lifeUser.LastLoginTime = DateTime.Now;
                 await _lifePayUserRepository.UpdateAsync(lifeUser);
             }

--
Gitblit v1.9.1