Skip to content

Commit

Permalink
v1.5.66
Browse files Browse the repository at this point in the history
  • Loading branch information
iGoogle-ink committed Dec 13, 2021
1 parent 707b168 commit 995cd34
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 4 deletions.
2 changes: 1 addition & 1 deletion constant.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ const (
OK = "OK"
DebugOff = 0
DebugOn = 1
Version = "1.5.65"
Version = "1.5.66"
)

type DebugSwitch int8
4 changes: 4 additions & 0 deletions release_note.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
版本号:Release 1.5.66
修改记录:
(1) 微信V3:fix bug that `{"code":"PARAM_ERROR","message":"平台证书序列号Wechatpay-Serial错误"}`

版本号:Release 1.5.65
修改记录:
(1) 微信V3:新增 client.V3EcommerceApply(),二级商户进件
Expand Down
9 changes: 6 additions & 3 deletions wechat/v3/client_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -316,7 +316,8 @@ func TestV3ProfitSharingOrder(t *testing.T) {
// bs, _ := json.Marshal(rs)

bm := make(gopay.BodyMap)
bm.Set("transaction_id", "4200001149202106084654939138").
bm.Set("appid", "wx52a25f196830f677").
Set("transaction_id", "4200001149202106084654939138").
Set("out_order_no", "202106071738581340").
Set("unfreeze_unsplit", false).Set("receivers", rs)

Expand All @@ -331,7 +332,8 @@ func TestV3ProfitSharingOrder(t *testing.T) {

func TestV3ProfitSharingAddReceiver(t *testing.T) {
bm := make(gopay.BodyMap)
bm.Set("type", "PERSONAL_OPENID").
bm.Set("appid", "wx52a25f196830f677").
Set("type", "PERSONAL_OPENID").
Set("account", "oOv-Z573Ktz7o2WRkzX98eAxePVE").
Set("relation_type", "USER")

Expand All @@ -346,7 +348,8 @@ func TestV3ProfitSharingAddReceiver(t *testing.T) {

func TestV3ProfitSharingDeleteReceiver(t *testing.T) {
bm := make(gopay.BodyMap)
bm.Set("type", "PERSONAL_OPENID").
bm.Set("appid", "wx52a25f196830f677").
Set("type", "PERSONAL_OPENID").
Set("account", "oOv-Z573Ktz7o2WRkzX98eAxePVE")

wxRsp, err := client.V3ProfitShareDeleteReceiver(ctx, bm)
Expand Down

0 comments on commit 995cd34

Please sign in to comment.