$redis_110 = Redis::connection('redis_110');
$redis_85 = Redis::connection('redis_85');
$zadd_key_arr = $redis_85->keys("KEY_JY_INNERCHIPNO*");

foreach($zadd_key_arr as $zadd_key){
$list_arr = $redis_85->zrange($zadd_key,0,-1);

$redis_110->pipeline(function($pipe) use($list_arr,$zadd_key){
foreach($list_arr as $val){
$pipe->zAdd($zadd_key,$val);
}
});
}
posted on 2018-04-11 20:59  cyqAkin  阅读(320)  评论(0编辑  收藏  举报