php redis 获取指定前缀的所有key 以laravel框架为例: $key = $this->redis->keys('db:shipping:shippingId:' . "*"); 转载于:https://www.cnblogs.com/sdgf/p/6212701.html