作者 sgj
1 个管道 的构建 通过 耗费 9 秒

删除分类

@@ -27,6 +27,7 @@ class IndexController extends WeChatBaseController @@ -27,6 +27,7 @@ class IndexController extends WeChatBaseController
27 if (empty($user['user_login'])){ 27 if (empty($user['user_login'])){
28 $targetUrl=url('register'); 28 $targetUrl=url('register');
29 header('location:'. $targetUrl); 29 header('location:'. $targetUrl);
  30 + exit();
30 } 31 }
31 $Article=new PortalPostModel(); 32 $Article=new PortalPostModel();
32 $article=$Article->getRecommend()->toArray(); 33 $article=$Article->getRecommend()->toArray();