From 8a50d832ad8e0d6e4a2f04269a812b9d18124b0f Mon Sep 17 00:00:00 2001 From: liaoxujun@qq.com <liaoxujun@qq.com> Date: 星期三, 10 四月 2024 13:52:00 +0800 Subject: [PATCH] 修改商品设置有个>--bug --- 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