From 9506266f4b0a710fd451ce98938be0acf76a3cf8 Mon Sep 17 00:00:00 2001 From: shanj <18996038927@163.com> Date: Wed, 10 May 2023 23:45:18 +0800 Subject: [PATCH] 10010 --- BBWYB.Client/Views/MainWindow.xaml | 2 +- BBWYB.Client/Views/Order/EditPrice.xaml | 18 ++++++++++-------- BBWYB.Client/Views/Order/OrderList.xaml | 7 ++++++- .../Controllers/OrderController.cs | 11 +++++++++++ 4 files changed, 28 insertions(+), 10 deletions(-) diff --git a/BBWYB.Client/Views/MainWindow.xaml b/BBWYB.Client/Views/MainWindow.xaml index 28ba50b..8d831db 100644 --- a/BBWYB.Client/Views/MainWindow.xaml +++ b/BBWYB.Client/Views/MainWindow.xaml @@ -24,7 +24,7 @@ - + diff --git a/BBWYB.Client/Views/Order/EditPrice.xaml b/BBWYB.Client/Views/Order/EditPrice.xaml index 70c3850..1a43d59 100644 --- a/BBWYB.Client/Views/Order/EditPrice.xaml +++ b/BBWYB.Client/Views/Order/EditPrice.xaml @@ -31,7 +31,7 @@ - + - + - + @@ -72,7 +73,7 @@ - + @@ -104,13 +105,14 @@ - - + + - + diff --git a/BBWYB.Client/Views/Order/OrderList.xaml b/BBWYB.Client/Views/Order/OrderList.xaml index 13cb72e..cbab169 100644 --- a/BBWYB.Client/Views/Order/OrderList.xaml +++ b/BBWYB.Client/Views/Order/OrderList.xaml @@ -656,7 +656,7 @@ - + @@ -668,6 +668,11 @@ + diff --git a/BBWYB.Server.API/Controllers/OrderController.cs b/BBWYB.Server.API/Controllers/OrderController.cs index f27f6d1..b596368 100644 --- a/BBWYB.Server.API/Controllers/OrderController.cs +++ b/BBWYB.Server.API/Controllers/OrderController.cs @@ -4,6 +4,7 @@ using Microsoft.AspNetCore.Authentication.JwtBearer; using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Mvc; using Microsoft.Extensions.Primitives; +using SDKAdapter.OperationPlatform.Models; namespace BBWYB.Server.API.Controllers { @@ -49,5 +50,15 @@ namespace BBWYB.Server.API.Controllers orderBusiness.CancelOrder(request, token.ToString()); } + + /// + /// 改价 + /// + /// + [HttpPost] + public void EditPrice([FromBody]OP_EditPriceRequest request) + { + orderBusiness.EditPrice(request); + } } }