/**
 * 
 * @date 2023-02-16 16:09:09
 * @author 鲜伟坚
 */

import { ErrorCode as ErrCode } from "./ErrorCode";

export interface CodeMsg<T> {
    code: ErrCode;
    msg?: T;
    err?: any;
}


export interface RedisCfg {
    host: string;
    port: number;
    password: string;
    database: number;
}


export interface TYConfig {
    appId: string;
    url: string;
    appsecret: string;
}