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