From 668b5b05d80d2a02d7fe9293de08c1cd02ac67e5 Mon Sep 17 00:00:00 2001
From: zhengyiming <540361168@qq.com>
Date: 星期四, 18 九月 2025 10:51:52 +0800
Subject: [PATCH] fix: GetBackClientUserInfo新增Roles

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

diff --git a/LifePayment/LifePayment.Application.Contracts/LifePay/LifePayOutput.cs b/LifePayment/LifePayment.Application.Contracts/LifePay/LifePayOutput.cs
index 8a1c7d7..b3400d8 100644
--- a/LifePayment/LifePayment.Application.Contracts/LifePay/LifePayOutput.cs
+++ b/LifePayment/LifePayment.Application.Contracts/LifePay/LifePayOutput.cs
@@ -1429,6 +1429,8 @@
     /// </summary>
     public bool IsBackClientUser { get; set; }
 
+    public string[] Roles { get; set; }
+
     public bool IsSystem { get; set; }
 
     /// <summary>
diff --git a/LifePayment/LifePayment.Application/User/AccountService.cs b/LifePayment/LifePayment.Application/User/AccountService.cs
index 740211b..4faeebd 100644
--- a/LifePayment/LifePayment.Application/User/AccountService.cs
+++ b/LifePayment/LifePayment.Application/User/AccountService.cs
@@ -114,6 +114,7 @@
             {
                 IsBackClientUser = CurrentUser.ClientId == Constant.ClientType.Back,
                 IsSystem = CurrentUser.IsSystem,
+                Roles = CurrentUser.Roles,
                 ChannleList = channleList
             };
             return result;

--
Gitblit v1.9.1