From 6b8dd8a7b4ac5d75d2e7a8c6c44d976bbd248b67 Mon Sep 17 00:00:00 2001
From: zhengyuxuan <zhengyuxuan1995>
Date: 星期三, 02 四月 2025 13:33:51 +0800
Subject: [PATCH] fix:bug修复

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

diff --git a/LifePayment/LifePayment.Application/User/UserRoleService.cs b/LifePayment/LifePayment.Application/User/UserRoleService.cs
index e8239f5..6a93332 100644
--- a/LifePayment/LifePayment.Application/User/UserRoleService.cs
+++ b/LifePayment/LifePayment.Application/User/UserRoleService.cs
@@ -62,7 +62,8 @@
                            from c in _channleRepository.Where(s => s.ChannlesNum == uc.ChannleId)
                         select new UserChannleDto
                         {
-                            Id = c.ChannlesNum,
+                            Id = c.Id,
+                            ChannlesNum = c.ChannlesNum,
                             Name = c.ChannlesName,
                         },
                 Remark = u.Remark,

--
Gitblit v1.9.1