This commit is contained in:
Tokumeikoi
2020-11-07 16:04:42 +08:00
parent 1d92d6b2f9
commit 93c90ddaf0
2 changed files with 7 additions and 3 deletions

View File

@ -88,8 +88,12 @@ class UserService
if (!$user->save()) {
return false;
}
$mailService = new MailService();
$mailService->remindTraffic($user);
try {
$mailService = new MailService();
$mailService->remindTraffic($user);
} catch (\Exception $e) {
return true;
}
return true;
}
}