common: add pagination for post

Signed-off-by: Liu Jianping <heljoy@meizu.com>