mirror of
https://github.com/Genshin-bots/gsuid_core.git
synced 2025-05-12 06:55:49 +08:00
👽️ 更新安柏计划
的APIbase_url
This commit is contained in:
parent
8c61c83b83
commit
d81d675f27
@ -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'
|
||||
|
@ -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'
|
||||
|
Loading…
x
Reference in New Issue
Block a user