From 2ba4b5952aed8356da2d41e3f6b711d4a61c656d Mon Sep 17 00:00:00 2001
From: zhengyuxuan <zhengyuxuan1995>
Date: 星期三, 02 四月 2025 16:49:46 +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