fix: 假单打乱顺序持久化到OrderSequence,2分钟内全用户一致
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -1106,6 +1106,11 @@ class FakeGrabOrderShuffleState(QModel):
|
||||
IntervalSeconds = models.PositiveIntegerField(
|
||||
default=120, verbose_name='打乱间隔秒数(默认2分钟)',
|
||||
)
|
||||
OrderSequence = models.JSONField(
|
||||
default=dict, blank=True,
|
||||
verbose_name='各俱乐部+类型已打乱顺序',
|
||||
help_text='形如 {"xq|1": {"last_shuffle_time": "...", "order_ids": ["JD...", ...]}}',
|
||||
)
|
||||
UpdateTime = models.DateTimeField(auto_now=True, verbose_name='更新时间')
|
||||
|
||||
class Meta:
|
||||
|
||||
Reference in New Issue
Block a user