fix: 罚款处理接口兼容前端 fadan_id 参数
This commit is contained in:
@@ -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()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user