协议调试
This commit is contained in:
@@ -9,7 +9,7 @@ export class AccountData extends BaseData {
|
||||
// 身份类型,1:游客;2:微信;3:googleplay
|
||||
private _identityType = 1;
|
||||
// 用户id
|
||||
private _accId = 0;
|
||||
private _accId: string = "";
|
||||
// 是否新手
|
||||
private _isNewGuide = true;
|
||||
// 是否刚注册
|
||||
@@ -18,7 +18,7 @@ export class AccountData extends BaseData {
|
||||
public reset(): void {
|
||||
this._identifier = "";
|
||||
this._identityType = 1;
|
||||
this._accId = 0;
|
||||
this._accId = "";
|
||||
this._isNewGuide = true;
|
||||
this._isNewRegist = true;
|
||||
}
|
||||
@@ -26,7 +26,7 @@ export class AccountData extends BaseData {
|
||||
public clear(): void {
|
||||
this._identifier = "";
|
||||
this._identityType = 1;
|
||||
this._accId = 0;
|
||||
this._accId = "";
|
||||
this._isNewGuide = true;
|
||||
this._isNewRegist = true;
|
||||
}
|
||||
@@ -61,12 +61,12 @@ export class AccountData extends BaseData {
|
||||
}
|
||||
|
||||
/** 设置用户id */
|
||||
public set accId(value: number) {
|
||||
public set accId(value: string) {
|
||||
this._accId = value;
|
||||
}
|
||||
|
||||
/** 获取用户id */
|
||||
public get accId(): number {
|
||||
public get accId(): string {
|
||||
return this._accId;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user