实现提现资金冻结:手动/自动打款共用冻结拆分,驳回仅退 shenqing_jine。

新增公共/用户冻结配置、流水表与后台解冻接口;修复冻结与扣款重复扣余额问题。

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
XingQue
2026-07-10 04:06:08 +08:00
parent 146a64b710
commit 8678f54459
13 changed files with 1447 additions and 20 deletions

View File

@@ -173,6 +173,13 @@ class TixianZddkshApplyView(APIView):
logger.error(f'提现审核申请异常: {e}', exc_info=True)
return Response({'code': 99, 'msg': '提现申请失败,请稍后重试'})
if data.get('freeze_only'):
return Response({
'code': 0,
'msg': data.get('msg') or '资金已划入冻结池',
'data': data,
})
return Response({'code': 0, 'msg': '提现申请已提交,请等待审核', 'data': data})
finally: