This commit is contained in:
lwl0608 2024-04-19 23:41:18 +08:00
parent 8fca291eb0
commit 806c223a8b
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}
if tx != nil {
_, err = tx.ExecContext(ctx, sqlStr, args...)