# third-party-api **Repository Path**: xhowar/third-party-api ## Basic Information - **Project Name**: third-party-api - **Description**: 第三方接口实现。如:支付、推送、短信等等(Third party interface implementation. Such as: payment, push, SMS and so on) - **Primary Language**: Java - **License**: Apache-2.0 - **Default Branch**: main - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2021-06-30 - **Last Updated**: 2021-06-30 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # [第三方 API(third-party-api)](https://github.com/shishuihao/third-party-api) ```text ████████╗██╗ ██╗██╗██████╗ ██████╗ ██████╗ █████╗ ██████╗ ████████╗██╗ ██╗ █████╗ ██████╗ ██╗ ╚══██╔══╝██║ ██║██║██╔══██╗██╔══██╗ ██╔══██╗██╔══██╗██╔══██╗╚══██╔══╝╚██╗ ██╔╝ ██╔══██╗██╔══██╗██║ ██║ ███████║██║██████╔╝██║ ██║ ██████╔╝███████║██████╔╝ ██║ ╚████╔╝ ███████║██████╔╝██║ ██║ ██╔══██║██║██╔══██╗██║ ██║ ██╔═══╝ ██╔══██║██╔══██╗ ██║ ╚██╔╝ ██╔══██║██╔═══╝ ██║ ██║ ██║ ██║██║██║ ██║██████╔╝ ██║ ██║ ██║██║ ██║ ██║ ██║ ██║ ██║██║ ██║ ╚═╝ ╚═╝ ╚═╝╚═╝╚═╝ ╚═╝╚═════╝ ╚═╝ ╚═╝ ╚═╝╚═╝ ╚═╝ ╚═╝ ╚═╝ ╚═╝ ╚═╝╚═╝ ╚═╝ ``` ## 徽章 ### Build [![Build Status](https://travis-ci.com/shishuihao/third-party-api.svg?branch=main)](https://travis-ci.com/shishuihao/third-party-api) [![CircleCI](https://circleci.com/gh/shishuihao/third-party-api.svg?style=svg)](https://circleci.com/gh/shishuihao/third-party-api) [![Java CI with Gradle](https://github.com/shishuihao/third-party-api/workflows/Java%20CI%20with%20Gradle/badge.svg)](https://github.com/shishuihao/third-party-api/actions/workflows/gradle.yml?query=workflow%3AJava) ### Code Coverage [![codecov](https://codecov.io/gh/shishuihao/third-party-api/branch/main/graph/badge.svg?token=M458RT3TUS)](https://codecov.io/gh/shishuihao/third-party-api) ### Analysis [![Codacy Badge](https://app.codacy.com/project/badge/Grade/52d392268f5e4e7684e1f698e86720a4)](https://www.codacy.com/gh/shishuihao/third-party-api/dashboard?utm_source=github.com&utm_medium=referral&utm_content=shishuihao/third-party-api&utm_campaign=Badge_Grade) [![codebeat badge](https://codebeat.co/badges/c37b42ee-9ee7-44d9-879f-6c717a8f8408)](https://codebeat.co/projects/github-com-shishuihao-third-party-api-main) [![Maintainability](https://api.codeclimate.com/v1/badges/a7dc243f88ef01a4cd4b/maintainability)](https://codeclimate.com/github/shishuihao/third-party-api/maintainability) [![Known Vulnerabilities](https://snyk.io/test/github/shishuihao/third-party-api/badge.svg)](https://snyk.io/test/github/shishuihao/third-party-api) ### Chat [![Gitter](https://badges.gitter.im/third-party-api/community.svg)](https://gitter.im/third-party-api/community?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge) ### Dependencies [![Depfu](https://badges.depfu.com/badges/ee76b78c26c43a7c5c145cca0d5e9f62/status.svg)](https://depfu.com) ### Size ![GitHub code size in bytes](https://img.shields.io/github/languages/code-size/shishuihao/third-party-api) ![GitHub repo file count](https://img.shields.io/github/directory-file-count/shishuihao/third-party-api) ![GitHub repo size](https://img.shields.io/github/repo-size/shishuihao/third-party-api) ### Downloads ![GitHub all releases](https://img.shields.io/github/downloads/shishuihao/third-party-api/total) ### Funding ### Issue Tracking ![GitHub issues](https://img.shields.io/github/issues/shishuihao/third-party-api) ![GitHub closed issues](https://img.shields.io/github/issues-closed/shishuihao/third-party-api) ![GitHub pull requests](https://img.shields.io/github/issues-pr/shishuihao/third-party-api) ![GitHub pull requests](https://img.shields.io/github/issues-pr-closed/shishuihao/third-party-api) [![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg?style=flat-square)](http://makeapullrequest.com) ### License [![Apache 2.0 License][license-shield]][license-url] ### Rating ### Social ![GitHub followers](https://img.shields.io/github/followers/shishuihao?style=social) [![GitHub forks](https://img.shields.io/github/forks/shishuihao/third-party-api)](https://github.com/shishuihao/third-party-api/network) ![GitHub Sponsors](https://img.shields.io/github/sponsors/shishuihao?style=social) [![GitHub stars](https://img.shields.io/github/stars/shishuihao/third-party-api)](https://github.com/shishuihao/third-party-api/stargazers) ![GitHub watchers](https://img.shields.io/github/watchers/shishuihao/third-party-api?style=social) ### Version ![GitHub release (latest by date)](https://img.shields.io/github/v/release/shishuihao/third-party-api) ### Platform & Version Support ### Monitoring ### Activity ![GitHub contributors](https://img.shields.io/github/contributors/shishuihao/third-party-api) ![GitHub last commit](https://img.shields.io/github/last-commit/shishuihao/third-party-api) ![GitHub Release Date](https://img.shields.io/github/release-date/shishuihao/third-party-api) ### Other [![github](https://badgen.net/badge/⭐/GitHub/blue)](https://github.com/shishuihao/third-party-api) [![gitee](https://badgen.net/badge/⭐/Gitee/blue)](https://gitee.com/shishuihao/third-party-api) [![Sourcegraph](https://sourcegraph.com/github.com/shishuihao/third-party-api/-/badge.svg)](https://sourcegraph.com/github.com/shishuihao/third-party-api?badge) [![REUSE status][reuse-shield]][reuse-url] [![Open Source Love](https://badges.frapsoft.com/os/v1/open-source.svg?v=102)](https://github.com/ellerbrock/open-source-badge/) ## [报告 Bug(Report Bug)](https://github.com/shishuihao/third-party-api/issues) [请求功能(Request Feature)](https://github.com/shishuihao/third-party-api/issues) ## 目录(Table of Contents) 1. [关于该项目(About The Project)](#关于该项目-about-the-project) /test - [用什么构建(Built With)](#用什么构建-built-with) 2. [入门指南(Getting Started)](#入门指南-getting-started) - [安装(Installation)](#安装-installation) 3. [用法(Usage)](#用法-usage) 4. [路线图(Roadmap)](#路线图-roadmap) 5. [贡献(Contributing)](#贡献-contributing) 6. [许可证(License)](#许可证-license) 7. [联系方式(Contact)](#联系方式-contact) 8. [致谢(Acknowledgements)](#致谢-acknowledgements) ## 关于该项目 About The Project [![Product Name Screen Shot][product-screenshot]](https://shishuihao.github.io/third-party-api/) GitHub 上有很多很棒的第三方接口集成,但是我找不到真正适合我需要的,因此我创建了这个我认为比较优雅的实现。 我想创建一个第三方接口集成,如此出色,以至于它将成为您需要的最后一个-我想就是这样。 ### 设计理念 - 尽量领域驱动设计 - 尽量代码规范 - 尽量单元测试 - 尽量使用官方 sdk 或者声明式 HTTP(feign) - 尽量事件驱动 ### 特点 - 高度抽象,统一接口,模块化设计,方法使用更优雅 - 支持多种可插拔机制,扩展性好,可按需使用 - 支持纯 java 使用,也支持多种框架内使用(一般会自动配置) - 支持多配置参数,支持多配置参数方式 - 支持发布事件 - 详细可参考[用法(Usage)](#用法-usage) 当然,由于您的需求可能不同,因此没有一个项目可以为所有项目提供服务。 因此,我将在不久的将来添加更多内容。 您也可以通过分叉此存储库并创建请求请求或打开问题来提出更改建议。 感谢所有为该项目的扩展做出贡献的人们! 致谢中列出了一些我认为有用的常用资源。 ### 用什么构建 Built With 本节列出在构建项目时使用的所有主要框架。在[致谢(Acknowledgements)](#致谢-acknowledgements)部分留下任何附加组件/插件。 - [Gradle](https://gradle.org/) - [Java 8](https://www.oracle.com/java/technologies/javase/javase-jdk8-downloads.html) ## 入门指南 Getting Started ### 安装 Installation - Maven ```xml cn.shishuihao third-party-api latest ``` - Gradle ```groovy compile 'cn.shishuihao:third-party-api:latest' ``` ## 用法 Usage - 插拔机制 - [x] [SPI机制](https://www.baeldung.com/java-spi) - [x] 通过容器 - [x] [springboot](/third-party-api-spring-boot-starter) - [集成到springboot](/third-party-api-spring-boot-starter) - [人脸 集成(sms integration)](/third-party-api-face) - [支付集成(pay integration)](/third-party-api-pay) - [推送集成(push integration)](/third-party-api-push) - [SMS 集成(sms integration)](/third-party-api-sms) - [语音合成 集成(sms integration)](/third-party-api-tts) - 登录集成 - 分享集成 - _有关更多示例,请参考[文档](https://shishuihao.github.io/third-party-api/)_ - _For more examples, please refer to the [Documentation](https://shishuihao.github.io/third-party-api/)_ ## 路线图 Roadmap - 请参阅[未解决的问题](https://github.com/shishuihao/third-party-api/issues),以获取提出了功能(和已知问题)的列表。 - See the [open issues](https://github.com/shishuihao/third-party-api/issues) for a list of proposed features (and known issues). ## 贡献 Contributing 1. 复刻该项目(Fork the Project) 2. 创建您的功能分支(Create your Feature Branch) (`git checkout -b feature/AmazingFeature`) 3. 提交您的更改(Commit your Changes) (`git commit -m 'Add some AmazingFeature'`) 4. 推到分支(Push to the Branch) (`git push origin feature/AmazingFeature`) 5. 提交拉取请求(Open a Pull Request) ## 许可证 License - 根据 Apache 2.0 许可证分发。有关更多信息,请参见[Apache License 2.0](http://www.apache.org/licenses/LICENSE-2.0) - Distributed under the Apache 2.0 License. See [Apache License 2.0](http://www.apache.org/licenses/LICENSE-2.0) for more information. ## 联系方式 Contact [shishuihao](https://github.com/shishuihao/) - ![avatar](https://avatars.githubusercontent.com/u/25605201?s=100&v=4) - 1285173409@qq.com 下面链接(Project Link): ## 致谢 Acknowledgements - [Spring Boot](https://spring.io/projects/spring-boot) - [Mybatis-Plus](https://mp.baomidou.com/) - [Best-README-Template](https://github.com/othneildrew/Best-README-Template) ## 捐助 Donate 如果您觉得我的项目对您有帮助,并且您愿意给予我一点小小的支持,您可以通过以下方式向我捐助,这样可以维持项目持续地发展,灰常感谢!(/ω\) | 支付宝(Alipay) | 微信(Wechat) | | :---------------------------------: | :---------------------------------: | | ![alipay](./docs/donate/alipay.png) | ![alipay](./docs/donate/wechat.jpg) | ❤❤❤ ## 捐助者名单 Donor list (如果这里还没有你的名字?请发邮件至 1285173409@qq.com 告诉我) | 捐助日期 | 捐助者 | 捐助金额 | | ---- | --- | ---- | ## Star 趋势 [![Stargazers over time](https://starchart.cc/shishuihao/third-party-api.svg)](https://starchart.cc/shishuihao/third-party-api) [license-shield]: https://img.shields.io/github/license/shishuihao/third-party-api.svg [license-url]: https://github.com/shishuihao/third-party-api/blob/main/LICENSE [reuse-shield]: https://api.reuse.software/badge/github.com/shishuihao/third-party-api [reuse-url]: https://api.reuse.software/info/github.com/shishuihao/third-party-api [product-screenshot]: images/screenshot.png