Files
payment-spring-boot/README.md
xiafang 568f463f2f README
2020-10-29 10:10:22 +08:00

34 lines
817 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# 移动支付 Spring Boot 组件
提供聚合支付能力。
## 支持类型
- [x] **微信支付V2** 只提供V3不支持的部分后续全面切向V3。
- [x] **微信支付V3** 全量支持。
- [ ] **支付宝** 施工中……
- [ ] **银联支付** 施工中……
## 采用技术
- Jackson
- Okhttp
- Ali-pay-sdk
## 使用方法
### 集成
以**Spring Boot Starter**的形式集成到项目中。
```xml
<dependency>
<groupId>com.enongm.dianji</groupId>
<artifactId>payment-spring-boot-autoconfigure</artifactId>
<version>1.0.0.RELEASE</version>
</dependency>
```
### 配置
#### 微信支付
在Spring Boot项目中的`application.yaml`中配置`wechat.pay`相关参数。
启用`@EnableWechatPay`注解
### API使用
施工中……
## CHANGELOG