mirror of
https://github.com/wechatpay-apiv3/wechatpay-go.git
synced 2026-03-13 08:42:37 +08:00
chore: bump version to v0.2.7
This commit is contained in:
@@ -1,5 +1,11 @@
|
||||
# Changelog
|
||||
|
||||
## [0.2.7] - 2021-09-14
|
||||
|
||||
### Fixed
|
||||
|
||||
+ 修复服务商支付接口`partnerpayments`与实际契约不匹配的问题
|
||||
|
||||
## [0.2.6] - 2021-08-26
|
||||
|
||||
### Added
|
||||
|
||||
2
FAQ.md
2
FAQ.md
@@ -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
|
||||
|
||||
@@ -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 ./...`可以递归检查代码中的编译错误,即可快速定位到需要修改的代码。
|
||||
|
||||
@@ -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中的信息
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user