添加ip归属地

This commit is contained in:
luying
2022-08-04 13:38:38 +08:00
parent b83d9db979
commit d656d12a74
9 changed files with 35 additions and 2 deletions

View File

@@ -18,6 +18,7 @@ export class FriendParams {
serverName: string;
type: number = FRIEND_RELATION_TYPE.NORMAL;
guildName: string = '';
ipLocation: string = '';
constructor(role: RoleType) {
this.roleId = role.roleId;
@@ -29,6 +30,7 @@ export class FriendParams {
this.ce = role.ce;
this.title = role.title;
this.guildName = role.guildName||'';
this.ipLocation = role.ipLocation||'';
}
setServerName(serverId: number, serverName: string) {