作者 王智

迭代接口

... ... @@ -824,7 +824,7 @@ class Index extends Api
}
}
$return['count'] = count($Newquestion_arr);
$return['list'] = $Newquestion_arr;
$return['list'] = array_values($Newquestion_arr);
$this->success('成功', $return);
}
... ... @@ -930,7 +930,7 @@ class Index extends Api
}
}
$return['count'] = count($Newquestion_arr);
$return['list'] = $this->page_array($param['rows'], $param['pages'], $Newquestion_arr, 0);
$return['list'] = array_values($this->page_array($param['rows'], $param['pages'], $Newquestion_arr, 0));
}
$this->success('成功', $return);
}
... ...