# pay **Repository Path**: sandom123/pay ## Basic Information - **Project Name**: pay - **Description**: 基于swoft分布式框架 - **Primary Language**: PHP - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2019-08-14 - **Last Updated**: 2020-12-19 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # 基于swoft分布式订单支付调用架构 ![](doc/.README_IMAGES/all.png) #### 基于swoft分布式框架订单系统设计 ## consul服务发现组件 ### 1、开启consul服务发现组件 ```bash consul agent -server -bootstrap-expect=1 -data-dir=/tmp/consul -node=swoft -ui -bind=192.168.1.11 -client 0.0.0.0 浏览器打开服务发现管理器:http://192.168.1.11:8500/ui/dc1/services ``` ![](doc/.README_images/2b310e69.png) ## payGateway(支付网关) 配置信息 | 协议 | 端口 | | :-----: | :-----: | |http|9801| |rpc|9501| ## order(订单系统) 配置信息 | 协议 | 端口 | | :-----: | :-----: | |http|9802| |rpc|9502| ## integration(积分系统) 配置信息 | 协议 | 端口 | | :-----: | :-----: | |http|9803| |rpc|9503| ## message(消息系统) 配置信息 | 协议 | 端口 | | :-----: | :-----: | |http|9804| |rpc|9504| ## notify(消息通知) 配置信息 | 协议 | 端口 | | :-----: | :-----: | |http|9805| |rpc|9505| ## rabbitmq