chore: bump version to v0.2.7

This commit is contained in:
EmmetZC
2021-09-18 14:53:58 +08:00
parent adfb5fc67d
commit 803ffae123
4 changed files with 10 additions and 4 deletions

View File

@@ -1,5 +1,11 @@
# Changelog
## [0.2.7] - 2021-09-14
### Fixed
+ 修复服务商支付接口`partnerpayments`与实际契约不匹配的问题
## [0.2.6] - 2021-08-26
### Added

2
FAQ.md
View File

@@ -14,7 +14,7 @@
首先使用 `go` 指令下载命令行工具
```shell
go get -u github.com/wechatpay-apiv3/wechatpay-go/cmd/wechatpay_download_certs@v0.2.6
go get -u github.com/wechatpay-apiv3/wechatpay-go/cmd/wechatpay_download_certs@v0.2.7
```
然后执行 `wechatpay_download_certs` 即可下载微信支付平台证书到当前目录
```shell

View File

@@ -8,8 +8,8 @@
此次升级会导致 `payments` 下4个API接口的SDK的兼容性问题建议开发者以如下方式对自己的代码进行更新。
### 1. 升级依赖
1. 在你的模块目录下执行 `go get -u github.com/wechatpay-apiv3/wechatpay-go@v0.2.6` 升级依赖。
2. (正常情况下该步骤会自动完成)修改模块 `go.mod` 文件中依赖的 `github.com/wechatpay-apiv3/wechatpay-go``v0.2.6`版本。
1. 在你的模块目录下执行 `go get -u github.com/wechatpay-apiv3/wechatpay-go@v0.2.7` 升级依赖。
2. (正常情况下该步骤会自动完成)修改模块 `go.mod` 文件中依赖的 `github.com/wechatpay-apiv3/wechatpay-go``v0.2.7`版本。
### 2. 定位需要修改的代码
在项目根目录下执行`go build ./...`可以递归检查代码中的编译错误,即可快速定位到需要修改的代码。

View File

@@ -13,7 +13,7 @@ const (
// SDK 相关信息
const (
Version = "0.2.6" // SDK 版本
Version = "0.2.7" // SDK 版本
UserAgentFormat = "WechatPay-Go/%s (%s) GO/%s" // UserAgent中的信息
)