11
This commit is contained in:
@@ -15,9 +15,6 @@ service shopping-cart {
|
||||
//删除购物车
|
||||
@handler DeleteCartHandler
|
||||
post /api/shopping-cart/delete(DeleteCartReq) returns (response);
|
||||
//修改购物车购买数量
|
||||
@handler ModifyCartPurchaseQuantityHandler
|
||||
post /api/shopping-cart/modify(ModifyCartPurchaseQuantityReq) returns (response);
|
||||
//获取购物车列表
|
||||
@handler GetCartsHandler
|
||||
get /api/shopping-cart/get_carts(GetCartsReq) returns (response);
|
||||
@@ -49,11 +46,7 @@ type DiyInfo {
|
||||
type DeleteCartReq {
|
||||
Id int64 `json:"id"` //购物车id
|
||||
}
|
||||
//修改购物车购买数量
|
||||
type ModifyCartPurchaseQuantityReq {
|
||||
Id int64 `json:"id"` //购物车id
|
||||
PurchaseQuantity int64 `json:"purchase_quantity"` //数量
|
||||
}
|
||||
|
||||
//获取购物车列表
|
||||
type GetCartsReq {
|
||||
CurrentPage int `form:"current_page"` //当前页
|
||||
|
||||
Reference in New Issue
Block a user