소스 검색

修改提现余额返回值

linhaohong 1 년 전
부모
커밋
3ffcbd4080
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      AdminController/CloudServiceManage/AgentCustomerController.py

+ 2 - 2
AdminController/CloudServiceManage/AgentCustomerController.py

@@ -857,9 +857,9 @@ class AgentCustomerView(View):
             available_balance = total_profit - frozen_amount
 
             if amount < Decimal('1000.00'):
-                return response.json(444, f'每次提现最少为1000元')
+                return response.json(10, '每次提现最少为1000元')
             if amount > available_balance:
-                return response.json(173, f'余额不足,无法提现')
+                return response.json(10, '余额不足,无法提现')
 
             # 提交提现申请
             acc = AgentCustomerCard.objects.filter(ac_id=ac_id).first()