This commit is contained in:
richboo111
2022-07-22 17:11:48 +08:00
parent 6cc34d2a6d
commit d546e5a880
3 changed files with 11 additions and 39 deletions

View File

@@ -263,7 +263,6 @@ func onTLpayFinished(call *tonglianpayapi.CallBackResult) (err error) {
if call.TrxStatus == tonglianpayapi.TrxStatusSuccess {
order.Status = model.OrderStatusFinished
payStatus = model.OrderStatusSuccessPay
} else {
order.Status = model.OrderStatusCanceled
payStatus = model.OrderStatusFailPay
@@ -274,9 +273,7 @@ func onTLpayFinished(call *tonglianpayapi.CallBackResult) (err error) {
return err
}
return err
}
//发快递
if order.OrderType == 3 {
} else if order.OrderType == 3 {
txdb, _ := dao.Begin(db)
defer func() {
if r := recover(); r != nil {
@@ -308,7 +305,6 @@ func onTLpayFinished(call *tonglianpayapi.CallBackResult) (err error) {
}
return err
}
} else {
globals.SugarLogger.Debugf("onTLpayFinished msg:%s, err:%v", utils.Format4Output(call, true), err)
}