优化更新
This commit is contained in:
@@ -222,9 +222,9 @@ class UserService
|
||||
DB::commit();
|
||||
|
||||
// 发送更新通知(如果更新的是其他用户)
|
||||
// if ($id !== $this->getCurrentUserId()) {
|
||||
if ($id !== $this->getCurrentUserId()) {
|
||||
$this->sendUserUpdateNotification($user, $data);
|
||||
// }
|
||||
}
|
||||
|
||||
return $user;
|
||||
} catch (\Exception $e) {
|
||||
|
||||
Reference in New Issue
Block a user