tt
This commit is contained in:
@@ -3,7 +3,6 @@ package tonglianpayapi
|
|||||||
import (
|
import (
|
||||||
"crypto/md5"
|
"crypto/md5"
|
||||||
"fmt"
|
"fmt"
|
||||||
"git.rosy.net.cn/jx-callback/globals"
|
|
||||||
"net/http"
|
"net/http"
|
||||||
"sort"
|
"sort"
|
||||||
"strings"
|
"strings"
|
||||||
@@ -209,15 +208,9 @@ func (a *API) PayRefund(param *PayRefundParam) (result *PayRefundResult, err err
|
|||||||
params["remark"] = param.Remark
|
params["remark"] = param.Remark
|
||||||
params["oldtrxid"] = param.OldTrxID
|
params["oldtrxid"] = param.OldTrxID
|
||||||
retVal, err := a.AccessAPI("unitorder/refund", params)
|
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 {
|
if err == nil {
|
||||||
utils.Map2StructByJson(retVal, &result, false)
|
utils.Map2StructByJson(retVal, &result, false)
|
||||||
}
|
}
|
||||||
globals.SugarLogger.Debug("PayRefund打印输出 result", result)
|
|
||||||
return result, err
|
return result, err
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user