This commit is contained in:
邹宗楠
2023-05-19 17:21:17 +08:00
parent d6ea1e8bd7
commit 0c024e20e0
5 changed files with 71 additions and 66 deletions

View File

@@ -3,6 +3,7 @@ package tonglianpayapi
import (
"crypto/md5"
"fmt"
"git.rosy.net.cn/jx-callback/globals"
"net/http"
"sort"
"strings"
@@ -192,6 +193,8 @@ func (a *API) CreateUnitorderOrder(param *CreateUnitorderOrderParam) (result *Cr
params["paytype"] = param.PayType
params["sub_appid"] = param.SubAppID
retVal, err := a.AccessAPI(sepcAction, params)
globals.SugarLogger.Debugf("===========err := %s", utils.Format4Output(retVal, false))
globals.SugarLogger.Debugf("===========err := %s", utils.Format4Output(err, false))
if err == nil {
utils.Map2StructByJson(retVal, &result, false)
}