隐藏式商品/类型增加归属商家端类型,点单按归属写入抢单字段;抢单池只返回商家端类型。
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
33
shangpin/migrations/0011_guishu_leixing_id.py
Normal file
33
shangpin/migrations/0011_guishu_leixing_id.py
Normal 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',
|
||||
),
|
||||
),
|
||||
]
|
||||
Reference in New Issue
Block a user