This commit is contained in:
laodaming
2023-06-13 14:29:44 +08:00
parent fda7596bc1
commit da347feac9
7 changed files with 118 additions and 1 deletions

View File

@@ -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"`
}