# compose-pay **Repository Path**: zfchen/compose-pay ## Basic Information - **Project Name**: compose-pay - **Description**: 多渠道支付脚手架 - **Primary Language**: Java - **License**: Apache-2.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2021-12-07 - **Last Updated**: 2022-01-07 ## Categories & Tags **Categories**: Uncategorized **Tags**: 支付 ## README # compose-pay [![HitCount](http://hits.dwyl.io/pleuvoir/compose-pay.svg)](http://hits.dwyl.io/pleuvoir/compose-pay) [![GitHub issues](https://img.shields.io/github/issues/pleuvoir/compose-pay.svg)](https://github.com/pleuvoir/compose-pay/issues) [![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg?label=license)](https://github.com/pleuvoir/compose-pay/blob/master/LICENSE) > doing.. [我把系统设计的过程写在这里了](https://juejin.im/post/5efeb940f265da22e27a7538) ## 介绍 互联网应用中经常要使用支付功能,支付系统做为基础设施,应当是高可用、灵活可配置且不与业务系统耦合的。基于此,剥离出该系统。 系统主要由三部分构成: 1. 数据库迁移工具 2. 后台管理 3. 后端服务 该项目的初衷是为企业提灵活可扩展的支付服务,方便对接三方支付通道,并完成支付功能的收口。因此不是简单的`SDK`唤起支付。实现难度低于聚合支付,因此没有复杂的支付路由、商户进件、轮询以及风控规则的设计。 一切都是为了方便业务快速对接支付相关功能,并做支付相关数据的落地。 ## 功能 1. 微信/支付宝 三方支付 2. 聚合码(待定) ## 项目结构 | 模块 | 名称 | 简介 | 备注 | | :----------------------------: | :------------: | :--: | :--: | | `compose-pay-open-api` | 支付 HTTP 服务站点层 | WEB | | | `compose-pay-common` | 支付公共包 | JAR | | | `compose-pay-gateway-service` | 支付网关服务 | RPC | | | ` compose-pay-channel-service` | 三方通道服务 | RPC | | | `compose-pay-job-admin` | 定时任务控制台 | WEB | | | `compose-pay-job` | 定时任务 | WEB | | | `compose-pay-manager` | 运营管理平台 | WEB | | | `compose-pay-migration` | 系统迁移脚本 | | | ## 技术栈 | 框架 | 简介 | 备注 | | :----------------------------: | :------------: | :-: | | [Spring Boot](https://spring.io/projects/spring-boot) | 应用开发 + MVC 框架 || | [Dubbo](http://dubbo.apache.org/) | 分布式 RPC 服务框架 | | | [MySQL](https://www.mysql.com/cn/) | 数据库服务器 | | | [Druid](https://github.com/alibaba/druid) | JDBC 连接池、监控组件 | | | [MyBatis](http://www.mybatis.org/mybatis-3/zh/index.html) | 数据持久层框架 | | | [MyBatis-Plus](https://mp.baomidou.com/) | Mybatis 增强工具包 | | | [Redis](https://redis.io/) | key-value 数据库 | | | [Elasticsearch](https://www.elastic.co/cn/) | 分布式搜索引擎 | | | [RocketMQ](http://dubbo.apache.org/) | 消息中间件 | | | [XXL-Job](http://www.xuxueli.com/xxl-job/) | 分布式任务调度平台 | | | [sharding-jdbc]() | 分库分表中间件 | | | [Lombok](https://github.com/rzwitserloot/lombok) | 简化对象封装工具 | | | [Hibernator-Validator](http://hibernate.org/validator) | 验证框架 | | ## 架构图 ### 系统架构图 // TODO ### 业务架构图 // TODO ## 开源协议 [Apache License](LICENSE)