1
This commit is contained in:
@@ -75,7 +75,10 @@ func pay4OrderByTL(ctx *jxcontext.Context, order *model.GoodsOrder, payType int,
|
|||||||
if err == nil {
|
if err == nil {
|
||||||
var result2 tonglianpayapi.PayInfo
|
var result2 tonglianpayapi.PayInfo
|
||||||
json.Unmarshal([]byte(result.PayInfo), &result2)
|
json.Unmarshal([]byte(result.PayInfo), &result2)
|
||||||
|
globals.SugarLogger.Debug("222222222222222result2", fmt.Sprintf("%+v", result2))
|
||||||
prePayID := result2.Package[strings.LastIndex(result2.Package, "=")+1 : len(result2.Package)]
|
prePayID := result2.Package[strings.LastIndex(result2.Package, "=")+1 : len(result2.Package)]
|
||||||
|
globals.SugarLogger.Debug("222222222222222prePayID", prePayID)
|
||||||
|
|
||||||
orderPay = &model.OrderPay{
|
orderPay = &model.OrderPay{
|
||||||
PayOrderID: param.Reqsn,
|
PayOrderID: param.Reqsn,
|
||||||
PayType: payType,
|
PayType: payType,
|
||||||
|
|||||||
Reference in New Issue
Block a user