fix:国际服index增加lang参数

This commit is contained in:
kissnavel 2024-07-11 00:30:17 +08:00
parent 7ba80cbf44
commit c5506e0d01

View file

@ -95,7 +95,7 @@ export default class ZZZApiTool {
urlMap.zzz.zzzNote.url = 'https://sg-act-nap-api.hoyolab.com/event/game_record_zzz/api/zzz/note' urlMap.zzz.zzzNote.url = 'https://sg-act-nap-api.hoyolab.com/event/game_record_zzz/api/zzz/note'
urlMap.zzz.zzzNote.query = `role_id=${this.uid}&server=${this.server}` urlMap.zzz.zzzNote.query = `role_id=${this.uid}&server=${this.server}`
urlMap.zzz.zzzIndex.url = 'https://sg-act-nap-api.hoyolab.com/event/game_record_zzz/api/zzz/index' urlMap.zzz.zzzIndex.url = 'https://sg-act-nap-api.hoyolab.com/event/game_record_zzz/api/zzz/index'
urlMap.zzz.zzzIndex.query = `role_id=${this.uid}&server=${this.server}` urlMap.zzz.zzzIndex.query = `lang=zh-cn&role_id=${this.uid}&server=${this.server}`
}; };
return urlMap[this.game]; return urlMap[this.game];
}; };