This commit is contained in:
邹宗楠
2022-12-16 12:44:58 +08:00
parent 4931198e98
commit 5e7533cc67
3 changed files with 4 additions and 1 deletions

View File

@@ -140,7 +140,7 @@ func onTLPayFinished(call *tonglianpayapi.CallBackResult) (err error) {
err = onPayFinished(txDb, orderPay)
}
txDb.Commit()
defer txDb.Commit()
return err
}