This commit is contained in:
laodaming
2023-06-13 14:13:40 +08:00
parent 311ad581cc
commit 147af8ae29
6 changed files with 23 additions and 4 deletions

View File

@@ -11,6 +11,9 @@ service shopping-cart-confirmation {
//添加入购物车
@handler CartAddHandler
post /cart/add (CartAddReq) returns (response);
//删除购物车
@handler CartDeleteHandler
post /cart/del (CartDeleteReq) returns (response);
}
//添加入购物车
@@ -18,4 +21,8 @@ type CartAddReq {
DesignId string `json:"design_id"` //设计sn
BuyNum int64 `json:"buy_num"` //购买数量
IsCheck int64 `json:"is_check,optional"`
}
//删除购物车
type CartDeleteReq {
Id int64 `json:"id"`
}