/// <summary> /// 购买商品 /// </summary> public void BuyProduct() { productMicroService.GetProduct(); orderMicroService.CreateOrder(); stockMicroService.ReduceStock(); payMicroService.Pay(); }
/// <summary> /// 购买商品 /// </summary> public void BuyProduct() { productMicroService.GetProduct(); orderMicroService.CreateOrder(); stockMicroService.ReduceStock(); payMicroService.Pay(); }