fix chaofen song weixin
This commit is contained in:
parent
f901feadf7
commit
9cd894a47b
|
@ -304,7 +304,7 @@ func (m *Mysql) UpdateOutOrderId(ctx *gin.Context, tx *sqlx.Tx, orderId string,
|
|||
// 获取钱包 for update
|
||||
func (m *Mysql) GetWalletForUpdate(ctx *gin.Context, tx *sqlx.Tx, mid int64) (wallet *dbstruct.Wallet, err error) {
|
||||
var tmpWallet dbstruct.Wallet
|
||||
err = tx.GetContext(ctx, &tmpWallet, fmt.Sprintf("select * from %s where id = ? for update", TableWallet), mid)
|
||||
err = tx.GetContext(ctx, &tmpWallet, fmt.Sprintf("select * from %s where id=?", TableWallet), mid)
|
||||
if err != nil {
|
||||
return
|
||||
}
|
||||
|
|
|
@ -390,7 +390,7 @@ func (v *Vas) UnlockZoneSuperfanship(ctx *gin.Context, tx *sqlx.Tx, order *dbstr
|
|||
Oid2: orderId,
|
||||
})
|
||||
if _err != nil {
|
||||
logger.Error("OneStepUnlockContact fail, mid: %v, zid: %v, uid: %v, orderId: %v, err: %v", mid, zid, orderId, err)
|
||||
logger.Error("OneStepUnlockContact fail, mid: %v, zid: %v, uid: %v, orderId: %v, err: %v", mid, zid, zv.Mid, orderId, _err)
|
||||
}
|
||||
|
||||
return nil
|
||||
|
|
Loading…
Reference in New Issue