From 90c194dfce781e72e7343a1073bfebbc37120547 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=A5=BF=E7=93=9C=C2=B0?= Date: Thu, 4 Jun 2026 19:35:28 +0800 Subject: [PATCH] 1 --- backend/api/core/RedisPreheat.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/backend/api/core/RedisPreheat.py b/backend/api/core/RedisPreheat.py index abdaca82..3c1b7f8a 100644 --- a/backend/api/core/RedisPreheat.py +++ b/backend/api/core/RedisPreheat.py @@ -7,7 +7,7 @@ import uuid import redis from api.core.Gzip import gzip_zip -from api.utils.skill_detail import normalize_skill_detail +from api.utils.skill_detail import SKILL_DETAIL_NORMALIZE_VERSION, normalize_skill_detail from core.basic.character import createCharacter from core.basic.equipment import get_equipment from core.character.adventure import adv, get_adv_list @@ -65,7 +65,7 @@ def _skill_prefix_from_path(path: Path) -> str: def _openapi_skill_detail_key(prefix: str) -> str: parts = prefix.split('/') - return f'openapi:{parts[0]}:{parts[1]}:{parts[-1]}' + return f'openapi:{SKILL_DETAIL_NORMALIZE_VERSION}:{parts[0]}:{parts[1]}:{parts[-1]}' def _load_skill_detail(path: Path):