fix
This commit is contained in:
parent
8fca291eb0
commit
806c223a8b
|
@ -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...)
|
||||||
|
|
Loading…
Reference in New Issue