From 6c40c373c4131e2f971da6e4ee4bf13066224d2a Mon Sep 17 00:00:00 2001
From: 移动系统liao <liaoxujun@qq.com>
Date: 星期二, 21 五月 2024 11:30:09 +0800
Subject: [PATCH] no message

---
 CoreCms.Net.Services/baifenbingfa/BfbfComAPIService.cs |    7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)

diff --git a/CoreCms.Net.Services/baifenbingfa/BfbfComAPIService.cs b/CoreCms.Net.Services/baifenbingfa/BfbfComAPIService.cs
index ff01659..60c787d 100644
--- a/CoreCms.Net.Services/baifenbingfa/BfbfComAPIService.cs
+++ b/CoreCms.Net.Services/baifenbingfa/BfbfComAPIService.cs
@@ -32,7 +32,7 @@
            var ListData= await  _unitOfWork.GetDbClient().Queryable<CoreCmsUser>().Where(x => x.isDelete == false).Select(x => new SearchUserData
             {
                 Id = x.id,
-                name = x.mobile + "|" + x.userName + "|" + x.nickName,
+                name = x.mobile /*+ "|" + x.userName*/ + "|" + x.nickName,
 
             }).WithCache(50).ToListAsync();
             if (string.IsNullOrEmpty(s))
@@ -58,5 +58,10 @@
             return false;
 
         }
+
+        public async Task<List<CoreCmsGoodsCategory>> GetGoodsCategory()
+        {
+         return await   _unitOfWork.GetDbClient().Queryable<CoreCmsGoodsCategory>().Where(x=>x.isShow==true).WithCache(10).ToTreeAsync(x=>x.children, x=>x.parentId,0);
+        }
     }
 }

--
Gitblit v1.9.1