Browse Source

字段名称修改

master
loshiqi 1 year ago
parent
commit
e99270d9d8
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      refund.go

+ 2
- 2
refund.go View File

@ -17,10 +17,10 @@ import (
/**
* 商户订单号,退款单号,总金额,退款金额,微信商户id,微信商户平台API私钥,平台证书,商户平台证书序列号,商品名,商品id,退款原因,回调地址
*/
func CreateRefund(order_sn, out_refund_no, total_amount, refund__amount, wx_mp_mch_id, wx_mch_apiclient_key,
func CreateRefund(order_sn, out_refund_no, total_amount, refund_amount, wx_mp_mch_id, wx_mch_apiclient_key,
wx_pay_cert, mch_serial_no, title, uuid, reason, notify_url string) (map[string]interface{}, error) {
total := helper.ToInt64(helper.FloatMul(total_amount, 100)) //总金额
refund := helper.ToInt64(helper.FloatMul(refund__amount, 100)) //退款金额
refund := helper.ToInt64(helper.FloatMul(refund_amount, 100)) //退款金额
log.Println("refund", order_sn, out_refund_no, refund, total, notify_url)


Loading…
Cancel
Save