商家罚款增加平台审核:新增状态5、证据图、审核API;审核通过前不影响抢单,提现仍拦截未结案罚单

This commit is contained in:
XingQue
2026-07-02 01:53:25 +08:00
parent 9fe03727c5
commit c21168ad2d
8 changed files with 194 additions and 26 deletions

View File

@@ -444,7 +444,7 @@ class OrderPlayerHistory(QModel):
class Penalty(QModel):
"""罚单表——平台各类处罚信息
状态码1=待缴纳, 2=已缴纳, 3=申诉中, 4=已驳回
状态码1=待缴纳, 2=已缴纳, 3=申诉中, 4=已驳回, 5=平台审核中
被处罚者身份shenfen1=打手, 2=管事, 3=商家, 4=组长
"""
@@ -475,7 +475,7 @@ class Penalty(QModel):
db_column='guanliandingdan_id', verbose_name='关联订单ID',
)
Status = models.IntegerField(
choices=[(1, '待缴纳'), (2, '已缴纳'), (3, '申诉中'), (4, '已驳回')],
choices=[(1, '待缴纳'), (2, '已缴纳'), (3, '申诉中'), (4, '已驳回'), (5, '平台审核中')],
default=1, db_index=True,
db_column='zhuangtai', verbose_name='罚单状态',
)