正在显示
1 个修改的文件
包含
4 行增加
和
4 行删除
@@ -116,7 +116,7 @@ class LoginController extends HomeBaseController | @@ -116,7 +116,7 @@ class LoginController extends HomeBaseController | ||
116 | */ | 116 | */ |
117 | public function chooseAge() { | 117 | public function chooseAge() { |
118 | if (cmf_is_user_login()) { | 118 | if (cmf_is_user_login()) { |
119 | - if(!session('baby_age')) { | 119 | +// if(!session('baby_age')) { |
120 | $baby_model = new BabyModel(); | 120 | $baby_model = new BabyModel(); |
121 | $where = [ | 121 | $where = [ |
122 | 'delete_time' => 0 | 122 | 'delete_time' => 0 |
@@ -132,9 +132,9 @@ class LoginController extends HomeBaseController | @@ -132,9 +132,9 @@ class LoginController extends HomeBaseController | ||
132 | } | 132 | } |
133 | $this->assign('babyList',json_encode($list)); | 133 | $this->assign('babyList',json_encode($list)); |
134 | return $this->fetch(':choose'); | 134 | return $this->fetch(':choose'); |
135 | - } else { | ||
136 | - return redirect($this->request->root() . '/'); | ||
137 | - } | 135 | +// } else { |
136 | +// return redirect($this->request->root() . '/'); | ||
137 | +// } | ||
138 | } else { | 138 | } else { |
139 | return redirect($this->request->root() . '/'); | 139 | return redirect($this->request->root() . '/'); |
140 | } | 140 | } |
-
请 注册 或 登录 后发表评论