fix: 假单打乱顺序持久化到OrderSequence,2分钟内全用户一致

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
XingQue
2026-06-28 18:33:36 +08:00
parent 872dbedb6e
commit 22f1781ea2
3 changed files with 106 additions and 32 deletions

View File

@@ -0,0 +1,21 @@
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('orders', '0012_fakegrabordershufflestate'),
]
operations = [
migrations.AddField(
model_name='fakegrabordershufflestate',
name='OrderSequence',
field=models.JSONField(
blank=True,
default=dict,
help_text='形如 {"xq|1": {"last_shuffle_time": "...", "order_ids": ["JD...", ...]}}',
verbose_name='各俱乐部+类型已打乱顺序',
),
),
]