| | |
| | | import socket |
| | | import socketserver |
| | | |
| | | from log_module import log, request_log_util |
| | | from log_module import request_log_util |
| | | from log_module.log import logger_request_debug |
| | | from utils import socket_util, hosting_api_util |
| | | |
| | |
| | | result = hosting_api_util.get_account_money_for_cb() |
| | | return_str = json.dumps(result) |
| | | break |
| | | elif type_ == 'refresh_trade_data': |
| | | # 验证签名 |
| | | data = data_json["data"] |
| | | refresh_type = data["ctype"] |
| | | result = hosting_api_util.refresh_trade_data_for_cb(refresh_type) |
| | | return_str = json.dumps(result) |
| | | break |
| | | |
| | | elif type_ == 'common': |
| | | params = data_json["data"] |