Authored by hf

Merge branch 'test' into develop

@@ -203,6 +203,7 @@ class ListController extends AbstractAction @@ -203,6 +203,7 @@ class ListController extends AbstractAction
203 break; 203 break;
204 } 204 }
205 if (!empty($page) && !is_numeric($page)) { 205 if (!empty($page) && !is_numeric($page)) {
  206 +
206 break; 207 break;
207 } 208 }
208 if (!empty($authorId) && is_numeric($authorId)) { 209 if (!empty($authorId) && is_numeric($authorId)) {
@@ -212,6 +213,7 @@ class ListController extends AbstractAction @@ -212,6 +213,7 @@ class ListController extends AbstractAction
212 /* 获取资讯文章列表 */ 213 /* 获取资讯文章列表 */
213 $uid = $this->getUid(); 214 $uid = $this->getUid();
214 $udid = $this->getUdid(); 215 $udid = $this->getUdid();
  216 + $page = intval($page) + 1;
215 $article = ListData::article($gender, $sortId, $uid, $udid, $page, $tag, $authorId); 217 $article = ListData::article($gender, $sortId, $uid, $udid, $page, $tag, $authorId);
216 if (empty($article['data']['list']['artList'])) { 218 if (empty($article['data']['list']['artList'])) {
217 break; 219 break;