(37需求): 查询角色接口
This commit is contained in:
@@ -561,4 +561,26 @@ export class GetServerParam {
|
||||
checkParams() {
|
||||
return this.server_id != undefined && this.time != undefined && this.sign != undefined
|
||||
}
|
||||
}
|
||||
|
||||
export class GetServerAndUidParam {
|
||||
time: number;
|
||||
appid: string;
|
||||
gid: string;
|
||||
uid: number;
|
||||
dsid: number;
|
||||
sign: string;
|
||||
|
||||
constructor(data: any) {
|
||||
this.time = data.time;
|
||||
this.appid = data.appid;
|
||||
this.gid = data.gid;
|
||||
this.uid = data.uid;
|
||||
this.dsid = data.dsid;
|
||||
this.sign = data.sign;
|
||||
}
|
||||
|
||||
checkParams() {
|
||||
return this.appid != undefined && this.time != undefined && this.gid != undefined && this.uid != undefined && this.dsid != undefined && this.sign != undefined
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user