改进 获取用户
This commit is contained in:
parent
dea5ddd271
commit
0d001bb982
@ -44,7 +44,7 @@ public function handle()
|
|||||||
//
|
//
|
||||||
$email_or_id = $this->argument('email_or_id');
|
$email_or_id = $this->argument('email_or_id');
|
||||||
|
|
||||||
$user = User::where('email', $email_or_id)->orWhere('id', $email_or_id)->first();
|
$user = User::where('email', $email_or_id)->orWhere('id', $email_or_id)->orWhere('name', $email_or_id)->first();
|
||||||
|
|
||||||
|
|
||||||
$transaction = new Transaction();
|
$transaction = new Transaction();
|
||||||
|
Loading…
Reference in New Issue
Block a user