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