正在显示
1 个修改的文件
包含
2 行增加
和
2 行删除
@@ -824,7 +824,7 @@ class Index extends Api | @@ -824,7 +824,7 @@ class Index extends Api | ||
824 | } | 824 | } |
825 | } | 825 | } |
826 | $return['count'] = count($Newquestion_arr); | 826 | $return['count'] = count($Newquestion_arr); |
827 | - $return['list'] = $Newquestion_arr; | 827 | + $return['list'] = array_values($Newquestion_arr); |
828 | $this->success('成功', $return); | 828 | $this->success('成功', $return); |
829 | } | 829 | } |
830 | 830 | ||
@@ -930,7 +930,7 @@ class Index extends Api | @@ -930,7 +930,7 @@ class Index extends Api | ||
930 | } | 930 | } |
931 | } | 931 | } |
932 | $return['count'] = count($Newquestion_arr); | 932 | $return['count'] = count($Newquestion_arr); |
933 | - $return['list'] = $this->page_array($param['rows'], $param['pages'], $Newquestion_arr, 0); | 933 | + $return['list'] = array_values($this->page_array($param['rows'], $param['pages'], $Newquestion_arr, 0)); |
934 | } | 934 | } |
935 | $this->success('成功', $return); | 935 | $this->success('成功', $return); |
936 | } | 936 | } |
-
请 注册 或 登录 后发表评论