This commit is contained in:
richboo111
2022-08-19 14:07:43 +08:00
parent 909cc9ab3f
commit fddc4d4111

View File

@@ -3,7 +3,6 @@ package tonglianpayapi
import (
"crypto/md5"
"fmt"
"git.rosy.net.cn/jx-callback/globals"
"net/http"
"sort"
"strings"
@@ -209,15 +208,9 @@ 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打印输出 err", err)
globals.SugarLogger.Debug("PayRefund打印输出 trxamt", params["trxamt"])
globals.SugarLogger.Debug("PayRefund打印输出 oldtrxid", params["oldtrxid"]) //nil
globals.SugarLogger.Debug("PayRefund打印输出 oldreqsn", params["oldreqsn"])
if err == nil {
utils.Map2StructByJson(retVal, &result, false)
}
globals.SugarLogger.Debug("PayRefund打印输出 result", result)
return result, err
}