This commit is contained in:
richboo111
2022-08-04 10:02:35 +08:00
parent db58d23371
commit 29c85e56d3

View File

@@ -3,6 +3,7 @@ package tonglianpayapi
import (
"crypto/md5"
"fmt"
"git.rosy.net.cn/jx-callback/globals"
"net/http"
"sort"
"strings"
@@ -208,9 +209,12 @@ func (a *API) PayRefund(param *PayRefundParam) (result *PayRefundResult, err err
params["remark"] = param.Remark
params["oldtrxid"] = param.OldTrxID
retVal, err := a.AccessAPI("unitorder/refund", params)
globals.SugarLogger.Debug("PayRefund打印输出 trxamt", params["trxamt"])
globals.SugarLogger.Debug("PayRefund打印输出 oldtrxid", params["oldtrxid"])
if err == nil {
utils.Map2StructByJson(retVal, &result, false)
}
globals.SugarLogger.Debug("PayRefund打印输出 result", result)
return result, err
}