...
|
...
|
@@ -175,11 +175,7 @@ class IndexController extends HomeBaseController |
|
|
function isLogin()
|
|
|
{
|
|
|
if (cmf_is_user_login()) {
|
|
|
if(!session('baby_age')) {
|
|
|
$this->success("用户已登录",url('user/Login/chooseAge'),['user'=>cmf_get_current_user()]);
|
|
|
} else {
|
|
|
$this->success("用户已登录",url('portal/Index/detail',['id'=>session('baby_age')]),['user'=>cmf_get_current_user()]);
|
|
|
}
|
|
|
$this->success("用户已登录",url('user/Login/chooseAge'),['user'=>cmf_get_current_user()]);
|
|
|
} else {
|
|
|
$this->error("此用户未登录!",url('user/Login/index'));
|
|
|
}
|
...
|
...
|
|