👽️ 更新安柏计划的APIbase_url

This commit is contained in:
KimigaiiWuyi 2024-09-20 11:43:26 +08:00
parent 8c61c83b83
commit d81d675f27
2 changed files with 3 additions and 3 deletions

View File

@ -1,4 +1,4 @@
AMBR_BASE_URL = 'https://gi.yatta.top'
AMBR_BASE_URL = 'https://gi.yatta.moe'
AMBR_EVENT_URL = AMBR_BASE_URL + '/assets/data/event.json'
AMBR_CHAR_URL = AMBR_BASE_URL + '/v2/chs/avatar/{}?vh=32F2'
AMBR_WEAPON_URL = AMBR_BASE_URL + '/v2/CHS/weapon/{}?vh=32F6'

View File

@ -151,10 +151,10 @@ async def get_ambr_icon(
'''
获取ItemIcon:
await get_ambr_icon('UI', '114004', path, 'ItemIcon')
https://gi.yatta.top/assets/UI/UI_ItemIcon_114004.png
https://gi.yatta.moe/assets/UI/UI_ItemIcon_114004.png
获取其他:
await get_ambr_icon('UI', 'Chongyun', path, 'AvatarIcon')
https://gi.yatta.top/assets/UI/UI_AvatarIcon_Chongyun.png
https://gi.yatta.moe/assets/UI/UI_AvatarIcon_Chongyun.png
'''
if ui_name:
item_icon = f'UI_{ui_name}_{icon_name}.png'