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 | 10 +++++++--- 1 files changed, 7 insertions(+), 3 deletions(-) diff --git a/CoreCms.Net.Web.WebApi/Controllers/UserController.cs b/CoreCms.Net.Web.WebApi/Controllers/UserController.cs index da46e1b..c1195ab 100644 --- a/CoreCms.Net.Web.WebApi/Controllers/UserController.cs +++ b/CoreCms.Net.Web.WebApi/Controllers/UserController.cs @@ -1003,11 +1003,14 @@ user.status, user.parentId, user.passWord, + user.IsBaifenPromotion, gradeName = userGrade != null ? userGrade.title : "", + gradeKey= userGrade != null ? userGrade.valueKey:"", userCouponCount, orderCount, footPrintCount, - collectionCount + collectionCount, + user.isplanorder }; return jm; } @@ -1559,7 +1562,7 @@ #region 鎻愮幇鐢宠 /// <summary> - /// 鎻愮幇鐢宠 + /// 鎻愮幇鐢宠 type 閾惰绾夸笅杞处 = 0, 浼佷笟浠樻鍒伴浂閽� = 1, 浼佸晢瀹惰浆璐﹀埌闆堕挶 = 3 浼佷笟浠樻鍒伴摱琛屽崱 = 2, /// </summary> /// <returns></returns> [HttpPost] @@ -1567,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