| | |
| | | from log_module.async_log_util import huaxin_l2_log |
| | | from log_module.log import logger_local_huaxin_l2_subscript, logger_system, logger_l2_codes_subscript, \ |
| | | logger_local_huaxin_l2_transaction, logger_local_huaxin_l2_upload, logger_local_huaxin_l2_error, printlog, \ |
| | | logger_trade |
| | | logger_trade, logger_debug |
| | | from utils import tool, l2_huaxin_util |
| | | |
| | | ###B类### |
| | |
| | | self.__high_rate_codes.add(code) |
| | | else: |
| | | self.__high_rate_codes.discard(code) |
| | | except: |
| | | pass |
| | | except Exception as e: |
| | | logger_debug.exception(e) |
| | | |
| | | |
| | | class MyL2ActionCallback(L2ActionCallback): |
| | |
| | | # 获取账户资金 |
| | | result = huaxin_trade_record_manager.MoneyManager.get_data() |
| | | send_response({"code": 0, "data": result}, client_id, request_id) |
| | | logger_debug.info(f"接收到命令:{request_id} - f{client_id} - {data}") |
| | | |
| | | |
| | | def test(): |