import { Long as LongType } from './long';
interface Header {
    AccessID: number;
    AccountID: LongType;
    AccountID2: number;
    ClientTime: any;
    FunCode: number;
    GoodsID: number;
    MarketID: number;
    RequestID: number;
    ResponseTopic: any;
    UUID: string;
    UserID: number;
}

/**
 * 登录成功后返回的数据类型
 * any 类型，代表着目前不确认，需要跟服务确认
 * */
export interface LoginResponse extends checkTokenRes {
    AccountStatus: number;
    HasUpdatedPwd: number;
    LoginCode: string;
    LoginLockHourNum: number;
    PwdWrongCnt: any;
    PwdWrongLockCnt: any;
}

export interface checkTokenRes {
    AccountIDs: any[];
    Header: Header;
    LoginID: LongType;
    LoginUserType: number;
    MemberUserID: number;
    RetCode: number;
    RetDesc: any;
    SystemTime: LongType;
    Token: string;
    TokenStatus?: number;
    UserID: number;
}
