|
|
@@ -52,8 +52,8 @@ func TradeAppRefund(client *wechat.Client, subject, transactionId, outRefundNo, |
|
|
|
Set("nonce_str", util.GetRandomString(32)). |
|
|
|
Set("sign_type", wechat.SignType_MD5). |
|
|
|
Set("out_refund_no", outRefundNo). |
|
|
|
Set("total_fee", int(zhios_pay_utils.StrToFloat64(totalFee)*100)). |
|
|
|
Set("refund_fee", int(zhios_pay_utils.StrToFloat64(amount)*100)). |
|
|
|
Set("total_fee", totalFee). |
|
|
|
Set("refund_fee", amount). |
|
|
|
Set("refund_desc", subject). |
|
|
|
Set("notify_url", notifyUrl) |
|
|
|
wxRsp, resBm, err := client.Refund(bm, nil, nil, p12Path) |
|
|
|