瀏覽代碼

更新

master
huangjiajun 1 年之前
父節點
當前提交
ef8b12df8c
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. +2
    -2
      lib/local_wechat/api.go

+ 2
- 2
lib/local_wechat/api.go 查看文件

@@ -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)


Loading…
取消
儲存