|
@@ -43,7 +43,7 @@ class CommentTransformer extends TransformerAbstract
|
|
];
|
|
];
|
|
}
|
|
}
|
|
Redis::SET($replyKey, json_encode($reply));
|
|
Redis::SET($replyKey, json_encode($reply));
|
|
- Redis::EXPIRE($replyKey, 300);
|
|
|
|
|
|
+ Redis::EXPIRE($replyKey, 604800);
|
|
}
|
|
}
|
|
$user = $this->userInfo($postComment['uid']);
|
|
$user = $this->userInfo($postComment['uid']);
|
|
return [
|
|
return [
|