Administrator
7 天以前 d91210fd9d205558fb3a0acb7e5cc8c6f0c600f2
api/outside_api_command_callback.py
@@ -20,7 +20,7 @@
from code_attribute.code_data_util import ZYLTGBUtil
from code_attribute.code_l1_data_manager import L1DataManager
from code_attribute.gpcode_manager import CodePrePriceManager, CodesNameManager, WantBuyCodesManager, \
    HumanRemoveForbiddenManager, HumanForbiddenManager, CodesContinueBuyMoneyManager
    HumanRemoveForbiddenManager, HumanForbiddenManager, CodesContinueBuyMoneyManager, HumanRemoveWantBuyCodesManager
from db import mysql_data_delegate as mysql_data, redis_manager_delegate as redis_manager
from db.redis_manager_delegate import RedisUtils
from huaxin_client import l1_subscript_codes_manager
@@ -310,6 +310,7 @@
                elif operate == outside_api_command_manager.OPERRATE_DELETE:
                    trade_record_log_util.remove_want_buy(code)
                    gpcode_manager.WantBuyCodesManager().remove_code(code)
                    HumanRemoveWantBuyCodesManager().add_code(code)
                elif operate == outside_api_command_manager.OPERRATE_GET:
                    codes = gpcode_manager.WantBuyCodesManager().list_code_cache()
                    datas = []
@@ -1627,6 +1628,8 @@
                                       client_id,
                                       request_id)
                    return
                CancelRateHumanSettingManager().remove_l_down(code)
                trade_record_log_util.add_common_msg(code, "移除L2撤单比例", "设置续买")
                CodesContinueBuyMoneyManager().set_continue_buy_money(code, money)
                l2_trade_util.remove_from_forbidden_trade_codes(code)
                CodesTradeStateManager().set_trade_state(code, trade_constant.TRADE_STATE_NOT_TRADE)