From 601166c988820551ae60543b098c50a6a1c77789 Mon Sep 17 00:00:00 2001 From: liaoxujun@qq.com <liaoxujun@qq.com> Date: 星期一, 01 四月 2024 17:38:58 +0800 Subject: [PATCH] no message --- 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