fix
This commit is contained in:
@@ -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"`
|
||||
}
|
||||
Reference in New Issue
Block a user