fix
This commit is contained in:
@@ -14,6 +14,9 @@ service shopping-cart-confirmation {
|
||||
//删除购物车
|
||||
@handler CartDeleteHandler
|
||||
post /cart/del (CartDeleteReq) returns (response);
|
||||
//获取用户购物车数量
|
||||
@handler CartNumberHandler
|
||||
get /cart/num ( ) returns (response);
|
||||
}
|
||||
|
||||
//添加入购物车
|
||||
@@ -25,4 +28,8 @@ type CartAddReq {
|
||||
//删除购物车
|
||||
type CartDeleteReq {
|
||||
Id int64 `json:"id"`
|
||||
}
|
||||
//获取用户购物车数量
|
||||
type CartNumberRsp {
|
||||
Num int64 `json:"num"`
|
||||
}
|
||||
Reference in New Issue
Block a user