From 71e821ab5e6b3014fac9b691d6957bcc09704b70 Mon Sep 17 00:00:00 2001
From: 移动系统liao <liaoxujun@qq.com>
Date: 星期三, 29 五月 2024 11:45:04 +0800
Subject: [PATCH] 修改定制封面逻辑

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

diff --git a/CoreCms.Net.Services/baifenbingfa/BfbfComAPIService.cs b/CoreCms.Net.Services/baifenbingfa/BfbfComAPIService.cs
index 60c787d..0b5c19e 100644
--- a/CoreCms.Net.Services/baifenbingfa/BfbfComAPIService.cs
+++ b/CoreCms.Net.Services/baifenbingfa/BfbfComAPIService.cs
@@ -63,5 +63,13 @@
         {
          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;
+        }
     }
 }

--
Gitblit v1.9.1