国服特色数据修正

This commit is contained in:
2026-06-28 00:09:17 +08:00
parent 6c71bdf737
commit 8199275181
10 changed files with 97 additions and 615 deletions
+2 -1
View File
@@ -5,6 +5,7 @@ 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 SKILL_DETAIL_NORMALIZE_VERSION, normalize_skill_detail, skill_detail_for_level
from api.utils.openapi_data import openapi_locale_path
from api.utils.skill_tree import (
SKILL_TREE_WITH_DESC_SPECIAL_VERSION,
filter_skill_tree_by_desc_special,
@@ -145,7 +146,7 @@ async def get_cn_skill_info(
# This function should retrieve the skill info based on job and jobGrow
# For now, we return a placeholder dictionary
with open(
f'./openapi/data/{jobId}/{jobGrowId}/cn/skillDetail/{skillId}.json',
openapi_locale_path('cn', jobId, jobGrowId, 'skillDetail', f'{skillId}.json'),
encoding='utf-8',
) as f:
skill_data = json.load(f)