username@email.com
2024-05-29 7a3a4f8012a72f80d8dd62064a76655c803da864
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,18 @@
            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);
        }
        public  decimal CommandCustomizable(int count)
        {
            if (count > 9999)
                return 0;
            return count * 1;
        }
    }
}