fix
This commit is contained in:
parent
0e4c37918a
commit
a8b85fad02
|
@ -1,5 +1,5 @@
|
||||||
Name: product
|
Name: product
|
||||||
Host: localhost
|
Host: 0.0.0.0
|
||||||
Port: 9908
|
Port: 9908
|
||||||
ReplicaId: 55
|
ReplicaId: 55
|
||||||
Timeout: 15000 #服务超时时间
|
Timeout: 15000 #服务超时时间
|
||||||
|
|
|
@ -22,6 +22,7 @@ service shopping-cart {
|
||||||
@handler GetCartsHandler
|
@handler GetCartsHandler
|
||||||
get /api/shopping-cart/get_carts(GetCartsReq) returns (response);
|
get /api/shopping-cart/get_carts(GetCartsReq) returns (response);
|
||||||
}
|
}
|
||||||
|
|
||||||
//加入购物车
|
//加入购物车
|
||||||
type AddToCartReq {
|
type AddToCartReq {
|
||||||
ProductId int64 `json:"product_id"` //产品id
|
ProductId int64 `json:"product_id"` //产品id
|
||||||
|
|
Loading…
Reference in New Issue
Block a user