This commit is contained in:
2026-06-04 17:00:02 +08:00
parent 36fe76a4ab
commit e08d853734
4 changed files with 19 additions and 7 deletions
+2 -2
View File
@@ -4,7 +4,7 @@ from fastapi import APIRouter, Path, Query
from api.core.Response import response
from api.core.Redis import get_redis_info
from api.dp import RedisDep
from api.utils.skill_detail import normalize_skill_detail, skill_detail_for_level
from api.utils.skill_detail import SKILL_DETAIL_NORMALIZE_VERSION, normalize_skill_detail, skill_detail_for_level
import re
from typing import Annotated
@@ -128,7 +128,7 @@ async def get_cn_skill_info(
level (int, optional): 技能等级,默认为None
"""
skill_info = {}
key = f'openapi:{jobId}:{jobGrowId}:{skillId}'
key = f'openapi:{SKILL_DETAIL_NORMALIZE_VERSION}:{jobId}:{jobGrowId}:{skillId}'
try:
def get_skill_info():