diff --git a/shoppingCart-service/.idea/vcs.xml b/shoppingCart-service/.idea/vcs.xml index 288b36b..6c0b863 100644 --- a/shoppingCart-service/.idea/vcs.xml +++ b/shoppingCart-service/.idea/vcs.xml @@ -2,6 +2,5 @@ - \ No newline at end of file diff --git a/shoppingCart-service/client/client.go b/shoppingCart-service/client/client.go index 7dd3d9f..3eae772 100644 --- a/shoppingCart-service/client/client.go +++ b/shoppingCart-service/client/client.go @@ -58,14 +58,13 @@ func main() { reqDetail := &proto.ProductDetailReq{ Id: int32(productId), } + // respDetail, err := clientA.ShowProductDetail(context.TODO(), reqDetail) req.ProductName = respDetail.ProductDetail[0].Name req.ProductMainPicture = respDetail.ProductDetail[0].MainPicture log.Println(" /ProductDetailReq get :", req) //SKU - //添加购物车 远程调用服务log.Println(" /ProductDetailReq get :", req) - // //SKU - // //添加购物车 远程调用服务 + //添加购物车 远程调用服务 resp, err := client.AddCart(context.TODO(), req) log.Println(" /increase :", resp) //根据响应做输出 diff --git a/shoppingCart-service/client/sdf.go b/shoppingCart-service/client/sdf.go deleted file mode 100644 index a536d32..0000000 --- a/shoppingCart-service/client/sdf.go +++ /dev/null @@ -1,6 +0,0 @@ -package main - -/* - @Auth:ShenZ - @Description: -*/