权限需要用到的字段

Access

interface Access {
    AccessResponse: {
        code?: AccessCode;
        detail?: Record<string, any>;
        redirect?: string;
    };
    Limit: {
        detail: {
            notWechatLimit:
                | "base"
                | "userinfo"
                | "nothing"
                | "validateForm";
            wechatLimit:
                | "base"
                | "userinfo"
                | "nothing"
                | "validateForm";
        };
    };
    LimitConfig:
        | "base"
        | "userinfo"
        | "nothing"
        | "validateForm";
    LimitDetail: {
        notWechatLimit:
            | "base"
            | "userinfo"
            | "nothing"
            | "validateForm";
        wechatLimit:
            | "base"
            | "userinfo"
            | "nothing"
            | "validateForm";
    };
}

属性

AccessResponse: {
    code?: AccessCode;
    detail?: Record<string, any>;
    redirect?: string;
}
Limit: {
    detail: {
        notWechatLimit:
            | "base"
            | "userinfo"
            | "nothing"
            | "validateForm";
        wechatLimit:
            | "base"
            | "userinfo"
            | "nothing"
            | "validateForm";
    };
}
LimitConfig:
    | "base"
    | "userinfo"
    | "nothing"
    | "validateForm"
LimitDetail: {
    notWechatLimit:
        | "base"
        | "userinfo"
        | "nothing"
        | "validateForm";
    wechatLimit:
        | "base"
        | "userinfo"
        | "nothing"
        | "validateForm";
}