fix: 罚款处理接口兼容前端 fadan_id 参数

This commit is contained in:
XingQue
2026-06-21 03:10:05 +08:00
parent da4bb47ee5
commit 86b4641558

View File

@@ -5770,7 +5770,7 @@ class FaKuanChuLiView(APIView):
def post(self, request):
try:
username = request.data.get('username', '').strip()
penalty_id = request.data.get('penalty_id')
penalty_id = request.data.get('penalty_id') or request.data.get('fadan_id')
action = request.data.get('action', '').strip()
chuli_liyou = request.data.get('chuli_liyou', '').strip()