redis- > lPush method get a return value?
printed it and seemed to have nothing
$id = $this->post("id");
$info = $this->PushModel->getPush($id);
if(empty($info)){
$this->json(Constant::FAILURE);
}
$gameId = $info["game_id"];
$title = $info["title"];
$content = $info["content"];
$pushInfo = "$id|$gameId|$title|$content";
$redis = $this->redis();
$ret = $redis->connect(REDIS_HOST, ZGH_REDIS_PORT);
$res = $redis->lPush(REDIS_HRGAME_PUSH_BATCH_KEY,$pushInfo);
print_r($ret);
print_r($res);exit;