/** * 搜索的分页 * @return string搜索的分页 */ public function actionPagechange_s() { $page = $_POST['page']; $input = $_POST['input']; $moment = new Moments(); $result = $moment->getPageMomentWithOrder_2($input, $page, 6); $allPage = $moment->getAllPage_s(6, $input); echo $result; }