Skip to content

Commit

Permalink
generate token bug
Browse files Browse the repository at this point in the history
  • Loading branch information
liyu001989 committed Sep 4, 2020
1 parent 2ac474a commit f2c8031
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/Console/Commands/GenerateToken.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ public function handle()
$user = User::find($userId);

if (!$user) {
$this->error('用户不存在');
return $this->error('用户不存在');
}

// 一年以后过期
Expand Down

0 comments on commit f2c8031

Please sign in to comment.