enable login notify

This commit is contained in:
xiaomlove
2023-04-09 02:33:37 +08:00
parent 2c85edb1b3
commit 4535ba94a4
6 changed files with 27 additions and 27 deletions
+4
View File
@@ -32,6 +32,10 @@ class UserLoginNotify extends Command
$thisId = $this->option('this_id');
$lastId = $this->option('last_id');
$this->info("thisId: $thisId, lastId: $lastId");
if (!$thisId || !$lastId) {
$this->error("require option --this_id=? and --last_id=?");
return Command::FAILURE;
}
SendLoginNotify::dispatch($thisId, $lastId);
return Command::SUCCESS;
}