mirror of
https://github.com/ZZZure/ZZZ-Plugin.git
synced 2025-12-16 13:17:32 +00:00
fix: note
This commit is contained in:
parent
8f5e986038
commit
f0ef2bd624
4 changed files with 68 additions and 12 deletions
|
|
@ -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]; // 港澳台服
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue