This commit is contained in:
laodaming 2023-06-14 18:17:24 +08:00
parent a5c3463fa9
commit f2893cc336

View File

@ -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{
}