RongIMLib View Markdown
    Preparing search index...

    Interface RCResult<T>

    interface RCResult<T = void> {
        isOk: boolean;
        code: number;
        msg: string;
        data?: T;
    }

    Type Parameters

    • T = void
    Index
    isOk: boolean

    是否成功,等同于 code === ErrorCode.SUCCESS

    code: number

    状态码

    msg: string

    错误信息

    data?: T

    数据