@midwayjs/casbin-redis-adapterClassesNodeRedisAdapter版本:Next本页总览NodeRedisAdapter HierarchyBaseAdapter<Line>NodeRedisAdapterIndex ConstructorsconstructorMethodsaddPolicyisFilteredloadFilteredPolicyloadPolicyremoveFilteredPolicyremovePolicysavePolicyConstructors constructornew NodeRedisAdapter(redisInstance: any): NodeRedisAdapterMethods addPolicyaddPolicy(sec: string, ptype: string, rule: string[]): Promise<void>isFilteredisFiltered(): booleanloadFilteredPolicyloadFilteredPolicy(model: Model, filter: any): Promise<void>loadPolicyloadPolicy(model: Model): Promise<void>removeFilteredPolicyremoveFilteredPolicy(sec: string, ptype: string, fieldIndex: number, ...fieldValues: string[]): Promise<void>removePolicyremovePolicy(sec: string, ptype: string, rule: string[]): Promise<void>savePolicysavePolicy(model: Model): Promise<boolean>