fix: note

This commit is contained in:
bietiaop 2024-07-08 17:01:24 +08:00
parent 8f5e986038
commit f0ef2bd624
4 changed files with 68 additions and 12 deletions

View file

@ -33,17 +33,17 @@ export default class MysZZZApi extends MysApi {
getServer() {
const _uid = this.uid.toString();
if (_uid.length < 10) {
return game_region[this.game][0]; // 官服
return game_region[0]; // 官服
}
switch (_uid.slice(0, -8)) {
case '10':
return game_region[this.game][2]; // 美服
return game_region[2]; // 美服
case '15':
return game_region[this.game][3]; // 欧服
return game_region[3]; // 欧服
case '13':
return game_region[this.game][4]; // 亚服
return game_region[4]; // 亚服
case '17':
return game_region[this.game][5]; // 港澳台服
return game_region[5]; // 港澳台服
}
}