fix
This commit is contained in:
@@ -23,6 +23,9 @@ service shopping-cart-confirmation {
|
||||
//获取用户购物车订单详情
|
||||
@handler CartOrderDetailHandler
|
||||
get /cart/order-detail (CartOrderDetailReq) returns (response);
|
||||
//变更发货方式和地址
|
||||
@handler ChangeOrderMethodHandler
|
||||
post /cart/chang-order-method (ChangeOrderMethodReq) returns (response);
|
||||
}
|
||||
|
||||
//添加入购物车
|
||||
@@ -109,4 +112,12 @@ type CartAddr {
|
||||
State string `json:"state"`
|
||||
ZipCode string `json:"zip_code"`
|
||||
IsDefault int64 `json:"is_default"`
|
||||
}
|
||||
|
||||
//变更发货方式和地址
|
||||
type ChangeOrderMethodReq {
|
||||
Sn string `json:"sn"`
|
||||
DeliveryMethod int64 `json:"delivery_method , options=1|2"`
|
||||
AddressId int64 `json:"address_id"`
|
||||
PayMethod int64 `json:"pay_method"`
|
||||
}
|
||||
Reference in New Issue
Block a user