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

前台加入判断进入

@@ -31,7 +31,7 @@ class FriendsController extends WeChatBaseController @@ -31,7 +31,7 @@ class FriendsController extends WeChatBaseController
31 $User=new UserModel(); 31 $User=new UserModel();
32 $user=$User->getUserInfo(); 32 $user=$User->getUserInfo();
33 if (empty($user['user_login'])){ 33 if (empty($user['user_login'])){
34 - $targetUrl=url('register'); 34 + $targetUrl=url('portal/index/register');
35 header('location:'. $targetUrl); 35 header('location:'. $targetUrl);
36 } 36 }
37 $group=$this->GroupModel->getMyGroup(); 37 $group=$this->GroupModel->getMyGroup();