Skip to content

Commit

Permalink
Merge pull request #73 from EmmetZC/feat/bump_version_0.2.7
Browse files Browse the repository at this point in the history
chore: bump version to v0.2.7
  • Loading branch information
EmmetZC authored Sep 18, 2021
2 parents adfb5fc + 803ffae commit c1b2950
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 4 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# Changelog

## [0.2.7] - 2021-09-14

### Fixed

+ 修复服务商支付接口`partnerpayments`与实际契约不匹配的问题

## [0.2.6] - 2021-08-26

### Added
Expand Down
2 changes: 1 addition & 1 deletion FAQ.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions UPGRADING.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 ./...`可以递归检查代码中的编译错误,即可快速定位到需要修改的代码。
Expand Down
2 changes: 1 addition & 1 deletion core/consts/const.go
Original file line number Diff line number Diff line change
Expand Up @@ -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中的信息
)

Expand Down

0 comments on commit c1b2950

Please sign in to comment.