Merge branch 'feat-IRONFANS-70' into test

This commit is contained in:
lwl0608 2024-04-19 23:41:24 +08:00
commit 31e925cd19
1 changed files with 1 additions and 1 deletions

View File

@ -130,7 +130,7 @@ func (m *Mysql) UnlockZoneMoment(ctx *gin.Context, tx *sqlx.Tx, mid, zid, moment
} }
// 再添加 // 再添加
sqlStr := "insert into " + TableVasZoneMember + " (mid,zid,moment_id,status,ct,order_id) " + " values (?,?,?,?,?,?)" sqlStr := "insert into " + TableVasZoneMomentUnlock + " (mid,zid,moment_id,status,ct,order_id) " + " values (?,?,?,?,?,?)"
args := []any{mid, zid, momentId, dbstruct.ZoneMomentUnlockStatusLock, time.Now().Unix(), orderId} args := []any{mid, zid, momentId, dbstruct.ZoneMomentUnlockStatusLock, time.Now().Unix(), orderId}
if tx != nil { if tx != nil {
_, err = tx.ExecContext(ctx, sqlStr, args...) _, err = tx.ExecContext(ctx, sqlStr, args...)