Administrator
2024-05-28 517f6c8ce6c68bfcd652ceeb7b79f79408dfec76
third_data/code_plate_key_manager.py
@@ -699,7 +699,7 @@
        block_codes_records = set()
        if limit_up_record_datas:
            for k in limit_up_record_datas:
                if code_limit_up_reasons_dict.get(k[3]) == block:
                if block in code_limit_up_reasons_dict.get(k[3]):
                    block_codes_records.add(k[3])
        if not block_codes:
@@ -814,7 +814,8 @@
                current_limit_up_block_codes_dict,
                high_level_code_blocks=high_level_general_code_blocks,
                high_level_block_codes=high_level_general_block_codes)
            fresults.append((block, can_buy, unique, msg, is_strong, is_active_buy, current_rank, block_limit_up_count, block_limit_up_record_count))
            fresults.append((block, can_buy, unique, msg, is_strong, is_active_buy, current_rank, block_limit_up_count,
                             block_limit_up_record_count))
        return fresults, keys
    # 是否可以下单
@@ -823,7 +824,7 @@
    @classmethod
    def can_buy(cls, code):
        if constant.TEST:
            return [("测试", 0, 1)], True, cls.BLOCK_TYPE_NONE, [], set(), ["化工"]
            return [("测试", 0, 1, 1)], True, cls.BLOCK_TYPE_NONE, [], set(), ["化工"]
        # if True:
        #     # 测试
        #     return True, "不判断板块身位"