where('status', 1)->get(['uid']); foreach ($data as $val) { Cache::forget(RedisKeyConstant::PAYMENT_TYPE . $val['uid']); } } }