协议修改

This commit is contained in:
chen wei bo
2025-08-25 16:27:24 +08:00
parent 6a6510e34a
commit e843f0fdcd
8 changed files with 1543 additions and 745 deletions
+26 -26
View File
@@ -13,7 +13,32 @@ export class AccountData extends BaseData {
// 是否新手
private _isNewGuide = true;
// 是否刚注册
private _isNewRegist = true;
private _isNewRegist = true;
public reset(): void {
this._identifier = "";
this._identityType = 1;
this._uid = "";
this._isNewGuide = true;
this._isNewRegist = true;
}
public clear(): void {
this._identifier = "";
this._identityType = 1;
this._uid = "";
this._isNewGuide = true;
this._isNewRegist = true;
}
public destroy(): void {
super.destroy();
this._identifier = null;
this._identityType = null;
this._uid = null;
this._isNewGuide = null;
this._isNewRegist = null;
}
/** 设置身份识别码 */
public set identifier(value: string) {
@@ -64,29 +89,4 @@ export class AccountData extends BaseData {
public get isNewRegist(): boolean {
return this._isNewRegist;
}
public reset(): void {
this._identifier = "";
this._identityType = 1;
this._uid = "";
this._isNewGuide = true;
this._isNewRegist = true;
}
public clear(): void {
this._identifier = "";
this._identityType = 1;
this._uid = "";
this._isNewGuide = true;
this._isNewRegist = true;
}
public destroy(): void {
super.destroy();
this._identifier = null;
this._identityType = null;
this._uid = null;
this._isNewGuide = null;
this._isNewRegist = null;
}
}