yg-tools
Version:
some convenient APIs and Methods for Youngon
34 lines (33 loc) • 700 B
TypeScript
/**
* 本地数据存储生命周期 单位毫秒
*/
export declare const TTL: number;
/**
* 本地存储数据的key
*/
export declare class LDKey {
/**
* 本地存储数据 openid 的 key
*/
static OPENID: string;
/**
* 本地存储数据时间戳 的 key
*/
static TIMESTAMP: string;
/**
* 本地存储数据 用户信息 的 key
*/
static USER: string;
/**
* 本地存储数据 用户是否在站 的 key
*/
static ONLINE: string;
/**
* 本地存储数据 设备屏幕大小 的 key
*/
static SCREEN: string;
/**
* 本地存储数据 社团信息 的 key
*/
static ORGINFO: string;
}