From 85405ca125ae7c139e7dbc2dc56a997f3f196e30 Mon Sep 17 00:00:00 2001 From: username@email.com <yzy2002yzy@163.com> Date: 星期三, 24 四月 2024 08:39:57 +0800 Subject: [PATCH] 计划订单功能 --- CoreCms.Net.Web.WebApi/Controllers/OfflineDistributorController.cs | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/CoreCms.Net.Web.WebApi/Controllers/OfflineDistributorController.cs b/CoreCms.Net.Web.WebApi/Controllers/OfflineDistributorController.cs index 15e82d8..6d8ac48 100644 --- a/CoreCms.Net.Web.WebApi/Controllers/OfflineDistributorController.cs +++ b/CoreCms.Net.Web.WebApi/Controllers/OfflineDistributorController.cs @@ -60,6 +60,8 @@ CooperationIntent = param.CooperationIntent, DealerName = param.DistributorName, PhoneNumber = param.PhoneNumber, + School=param.School, + meetings = new List<OfflineDistributorMeeting>() { new OfflineDistributorMeeting @@ -79,7 +81,7 @@ }; var jm = new WebApiCallBack(); - var ret = await _OfflineDistributorServices.UpdateAsync(item); + var ret = await _OfflineDistributorServices.UserInsertAsync(item); jm.code = ret.code; jm.status = true; jm.msg = ret.msg; -- Gitblit v1.9.1