|
@@ -20,8 +20,8 @@ class Controller extends BaseController
|
|
|
|
|
|
public function getUser()
|
|
public function getUser()
|
|
{
|
|
{
|
|
-// $this->user = Auth::guard('api')->user();
|
|
|
|
- $this->user = UserInfoModel::where('phone','13880642880')->first();
|
|
|
|
|
|
+ $this->user = Auth::guard('api')->user();
|
|
|
|
+// $this->user = UserInfoModel::where('phone','13880642880')->first();
|
|
return $this->user;
|
|
return $this->user;
|
|
}
|
|
}
|
|
|
|
|