From 45c6d6e44e9e8428718fc635d71e0869556da2c3 Mon Sep 17 00:00:00 2001 From: 移动系统liao <liaoxujun@qq.com> Date: 星期一, 20 五月 2024 15:36:53 +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