lizhen_gitee 1 سال پیش
والد
کامیت
14ea39a1a5
1فایلهای تغییر یافته به همراه2 افزوده شده و 2 حذف شده
  1. 2 2
      application/api/controller/User.php

+ 2 - 2
application/api/controller/User.php

@@ -95,8 +95,8 @@ class User extends Api
         }
         if ($ret) {
             Sms::flush($mobile, 'mobilelogin');
-            $data = ['is_register' => $is_register, 'userinfo' => $this->auth->getUserinfo()];
-            $this->success(__('Logged in successful'), $data);
+//            $data = ['is_register' => $is_register, 'userinfo' => $this->auth->getUserinfo()];
+            $this->success(__('Logged in successful'), $this->auth->getUserinfo());
         } else {
             $this->error($this->auth->getError());
         }