From 5591c18dc3500bd3e0719bb6b28b26f7f9e7cb58 Mon Sep 17 00:00:00 2001
From: username@email.com <yzy2002yzy@163.com>
Date: 星期三, 15 五月 2024 09:46:19 +0800
Subject: [PATCH] 计划订单

---
 CoreCms.Net.Web.WebApi/Controllers/UserController.cs |    8 +++++---
 1 files changed, 5 insertions(+), 3 deletions(-)

diff --git a/CoreCms.Net.Web.WebApi/Controllers/UserController.cs b/CoreCms.Net.Web.WebApi/Controllers/UserController.cs
index 7370986..c1195ab 100644
--- a/CoreCms.Net.Web.WebApi/Controllers/UserController.cs
+++ b/CoreCms.Net.Web.WebApi/Controllers/UserController.cs
@@ -1009,7 +1009,8 @@
                 userCouponCount,
                 orderCount,
                 footPrintCount,
-                collectionCount
+                collectionCount,
+                user.isplanorder
             };
             return jm;
         }
@@ -1561,7 +1562,7 @@
 
         #region 鎻愮幇鐢宠
         /// <summary>
-        /// 鎻愮幇鐢宠
+        /// 鎻愮幇鐢宠   type  閾惰绾夸笅杞处 = 0,   浼佷笟浠樻鍒伴浂閽� = 1, 浼佸晢瀹惰浆璐﹀埌闆堕挶 = 3     浼佷笟浠樻鍒伴摱琛屽崱 = 2,
         /// </summary>
         /// <returns></returns>
         [HttpPost]
@@ -1569,7 +1570,8 @@
         public async Task<WebApiCallBack> Cash([FromBody] FMIntId entity)
         {
             var money = entity.data.ObjectToDecimal(0);
-            var jm = await _userTocashServices.Tocash(_user.ID, money, entity.id);
+            var Paytype = entity.data.ObjectToDecimal(0);
+            var jm = await _userTocashServices.Tocash(_user.ID, money, entity.id,type: (GlobalEnumVars.UserTocashType)Paytype);
             return jm;
         }
 

--
Gitblit v1.9.1