1
This commit is contained in:
@@ -61,5 +61,6 @@ func (p PrintNotice) SelectPrintNotice(param *editionModel.QueryPrintNotice) ([]
|
||||
txDb.Rollback()
|
||||
return nil, 0, err
|
||||
}
|
||||
defer txDb.Commit()
|
||||
return result, countInfo[0].Ct, nil
|
||||
}
|
||||
|
||||
@@ -71,6 +71,8 @@ func (p *PrintBindStore) RelievePrintBindStore(userId, printNo string) error {
|
||||
db.Rollback()
|
||||
return err
|
||||
}
|
||||
defer db.Commit()
|
||||
|
||||
// 绑定的门店将用户信息修改掉(暂时没做)
|
||||
return nil
|
||||
}
|
||||
|
||||
@@ -140,7 +140,7 @@ func onTLPayFinished(call *tonglianpayapi.CallBackResult) (err error) {
|
||||
err = onPayFinished(txDb, orderPay)
|
||||
}
|
||||
|
||||
txDb.Commit()
|
||||
defer txDb.Commit()
|
||||
return err
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user