Skip to content

Commit 995cd34

Browse files
committed
v1.5.66
1 parent 707b168 commit 995cd34

File tree

3 files changed

+11
-4
lines changed

3 files changed

+11
-4
lines changed

constant.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ const (
77
OK = "OK"
88
DebugOff = 0
99
DebugOn = 1
10-
Version = "1.5.65"
10+
Version = "1.5.66"
1111
)
1212

1313
type DebugSwitch int8

release_note.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
版本号:Release 1.5.66
2+
修改记录:
3+
(1) 微信V3:fix bug that `{"code":"PARAM_ERROR","message":"平台证书序列号Wechatpay-Serial错误"}`
4+
15
版本号:Release 1.5.65
26
修改记录:
37
(1) 微信V3:新增 client.V3EcommerceApply(),二级商户进件

wechat/v3/client_test.go

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -316,7 +316,8 @@ func TestV3ProfitSharingOrder(t *testing.T) {
316316
// bs, _ := json.Marshal(rs)
317317

318318
bm := make(gopay.BodyMap)
319-
bm.Set("transaction_id", "4200001149202106084654939138").
319+
bm.Set("appid", "wx52a25f196830f677").
320+
Set("transaction_id", "4200001149202106084654939138").
320321
Set("out_order_no", "202106071738581340").
321322
Set("unfreeze_unsplit", false).Set("receivers", rs)
322323

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

332333
func TestV3ProfitSharingAddReceiver(t *testing.T) {
333334
bm := make(gopay.BodyMap)
334-
bm.Set("type", "PERSONAL_OPENID").
335+
bm.Set("appid", "wx52a25f196830f677").
336+
Set("type", "PERSONAL_OPENID").
335337
Set("account", "oOv-Z573Ktz7o2WRkzX98eAxePVE").
336338
Set("relation_type", "USER")
337339

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

347349
func TestV3ProfitSharingDeleteReceiver(t *testing.T) {
348350
bm := make(gopay.BodyMap)
349-
bm.Set("type", "PERSONAL_OPENID").
351+
bm.Set("appid", "wx52a25f196830f677").
352+
Set("type", "PERSONAL_OPENID").
350353
Set("account", "oOv-Z573Ktz7o2WRkzX98eAxePVE")
351354

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

0 commit comments

Comments
 (0)