Merge branch 'feat-IRONFANS-70' into test
This commit is contained in:
commit
31e925cd19
|
@ -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