隐藏式商品/类型增加归属商家端类型,点单按归属写入抢单字段;抢单池只返回商家端类型。

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
XingQue
2026-07-22 16:26:43 +08:00
parent bc22bd0df1
commit 04fcfb909b
5 changed files with 176 additions and 13 deletions

View File

@@ -0,0 +1,33 @@
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('shangpin', '0010_gsfenhong_fenhong_leixing_unique'),
]
operations = [
migrations.AddField(
model_name='shangpin',
name='guishu_leixing_id',
field=models.PositiveIntegerField(
blank=True,
db_index=True,
help_text='仅隐藏式商品使用;指向 shenhezhuangtai=3 的类型',
null=True,
verbose_name='归属商家端类型ID',
),
),
migrations.AddField(
model_name='shangpinleixing',
name='guishu_leixing_id',
field=models.PositiveIntegerField(
blank=True,
db_index=True,
help_text='仅隐藏式类型使用;指向 shenhezhuangtai=3 的类型',
null=True,
verbose_name='归属商家端类型ID',
),
),
]