From f2893cc336f67a4dc76fcc3fce49d7ad31c253fe Mon Sep 17 00:00:00 2001 From: laodaming <11058467+laudamine@user.noreply.gitee.com> Date: Wed, 14 Jun 2023 18:17:24 +0800 Subject: [PATCH] fix --- server_api/shopping-cart-confirmation.api | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/server_api/shopping-cart-confirmation.api b/server_api/shopping-cart-confirmation.api index 5dafc1d6..2156d17d 100644 --- a/server_api/shopping-cart-confirmation.api +++ b/server_api/shopping-cart-confirmation.api @@ -26,6 +26,9 @@ service shopping-cart-confirmation { //变更发货方式和地址 @handler ChangeOrderMethodHandler post /cart/chang-order-method (ChangeOrderMethodReq) returns (response); + //创建订单 + @handler CartCreateOrderHandler + post /cart/create-order (CartCreateOrderReq) returns (response); } //添加入购物车 @@ -120,4 +123,9 @@ type ChangeOrderMethodReq { DeliveryMethod int64 `json:"delivery_method , options=1|2"` AddressId int64 `json:"address_id"` PayMethod int64 `json:"pay_method"` +} + +//创建订单 +type CartCreateOrderReq{ + } \ No newline at end of file