Spring cloud分佈式系統搭建(二)

二、訂單與商品服務分離 ​ 這裏需要將訂單與商品服務獨立佈置在兩臺服務器上,我們可以通過分模塊單獨運行來模擬。 拆分商品服務: 在mall下新建goods-server模塊,複製mall中與商品相關的代碼: pom.xml中中的內容; GoodService、GoodsMapper、Goods、GoodsController的代碼; application.properties內容。 給Goods
相關文章
相關標籤/搜索