正在显示
1 个修改的文件
包含
0 行增加
和
2 行删除
@@ -157,7 +157,6 @@ class User extends Api | @@ -157,7 +157,6 @@ class User extends Api | ||
157 | $return['user_info'] = $this->auth->getUserinfo(); | 157 | $return['user_info'] = $this->auth->getUserinfo(); |
158 | } else { | 158 | } else { |
159 | if(!empty($mobile)){ | 159 | if(!empty($mobile)){ |
160 | - $return['123'] = '123'; | ||
161 | $this->register($openid,empty($mobile)?'':$mobile); | 160 | $this->register($openid,empty($mobile)?'':$mobile); |
162 | $return['user_info'] = $this->auth->getUserinfo(); | 161 | $return['user_info'] = $this->auth->getUserinfo(); |
163 | }else{ | 162 | }else{ |
@@ -167,7 +166,6 @@ class User extends Api | @@ -167,7 +166,6 @@ class User extends Api | ||
167 | 166 | ||
168 | 167 | ||
169 | $return['session'] = $session; | 168 | $return['session'] = $session; |
170 | - $return['mobile'] = $mobile; | ||
171 | 169 | ||
172 | $this->success('Logged in successful', $return); | 170 | $this->success('Logged in successful', $return); |
173 | } | 171 | } |
-
请 注册 或 登录 后发表评论