@@ -316,7 +316,8 @@ func TestV3ProfitSharingOrder(t *testing.T) {
316
316
// bs, _ := json.Marshal(rs)
317
317
318
318
bm := make (gopay.BodyMap )
319
- bm .Set ("transaction_id" , "4200001149202106084654939138" ).
319
+ bm .Set ("appid" , "wx52a25f196830f677" ).
320
+ Set ("transaction_id" , "4200001149202106084654939138" ).
320
321
Set ("out_order_no" , "202106071738581340" ).
321
322
Set ("unfreeze_unsplit" , false ).Set ("receivers" , rs )
322
323
@@ -331,7 +332,8 @@ func TestV3ProfitSharingOrder(t *testing.T) {
331
332
332
333
func TestV3ProfitSharingAddReceiver (t * testing.T ) {
333
334
bm := make (gopay.BodyMap )
334
- bm .Set ("type" , "PERSONAL_OPENID" ).
335
+ bm .Set ("appid" , "wx52a25f196830f677" ).
336
+ Set ("type" , "PERSONAL_OPENID" ).
335
337
Set ("account" , "oOv-Z573Ktz7o2WRkzX98eAxePVE" ).
336
338
Set ("relation_type" , "USER" )
337
339
@@ -346,7 +348,8 @@ func TestV3ProfitSharingAddReceiver(t *testing.T) {
346
348
347
349
func TestV3ProfitSharingDeleteReceiver (t * testing.T ) {
348
350
bm := make (gopay.BodyMap )
349
- bm .Set ("type" , "PERSONAL_OPENID" ).
351
+ bm .Set ("appid" , "wx52a25f196830f677" ).
352
+ Set ("type" , "PERSONAL_OPENID" ).
350
353
Set ("account" , "oOv-Z573Ktz7o2WRkzX98eAxePVE" )
351
354
352
355
wxRsp , err := client .V3ProfitShareDeleteReceiver (ctx , bm )
0 commit comments