@midwayjs/casbinClassesBaseAdapter版本:Next本页总览abstractBaseAdapter <AdapterLine>ImplementsFilteredAdapterIndex ConstructorsconstructorMethodsaddPolicyisFilteredloadFilteredPolicyloadPolicyremoveFilteredPolicyremovePolicysavePolicyConstructors constructornew BaseAdapter<AdapterLine>(): BaseAdapter<AdapterLine>Type parametersAdapterLine: LineMethods publicaddPolicyaddPolicy(sec: string, ptype: string, rule: string[]): Promise<void>publicisFilteredisFiltered(): booleanpublicloadFilteredPolicyloadFilteredPolicy(model: Model, filter: any): Promise<void>publicloadPolicyloadPolicy(model: Model): Promise<void>publicremoveFilteredPolicyremoveFilteredPolicy(sec: string, ptype: string, fieldIndex: number, ...fieldValues: string[]): Promise<void>publicremovePolicyremovePolicy(sec: string, ptype: string, rule: string[]): Promise<void>publicsavePolicysavePolicy(model: Model): Promise<boolean>