Skip to content

Commit

Permalink
fix bug: remove invalid function call in MiniProgramLoginController.
Browse files Browse the repository at this point in the history
  • Loading branch information
chenbidepro committed Dec 19, 2018
1 parent 648ab63 commit cfcdc9b
Showing 1 changed file with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -101,8 +101,6 @@ public function mobileLogin()

$token = $user->createToken($user->id)->accessToken;

$this->bindOpenPlatform($user->id);

$this->userService->bindPlatform($user->id, request('open_id'), config('wechat.mini_program.default.app_id'), 'miniprogram');

return $this->success(['token_type' => 'Bearer', 'access_token' => $token]);
Expand Down

0 comments on commit cfcdc9b

Please sign in to comment.