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