This commit is contained in:
laodaming 2023-09-13 17:27:16 +08:00
parent 0e4c37918a
commit a8b85fad02
2 changed files with 35 additions and 34 deletions

View File

@ -1,5 +1,5 @@
Name: product
Host: localhost
Host: 0.0.0.0
Port: 9908
ReplicaId: 55
Timeout: 15000 #服务超时时间

View File

@ -22,6 +22,7 @@ service shopping-cart {
@handler GetCartsHandler
get /api/shopping-cart/get_carts(GetCartsReq) returns (response);
}
//加入购物车
type AddToCartReq {
ProductId int64 `json:"product_id"` //产品id