feat : chef name

This commit is contained in:
2025-04-10 16:49:24 +08:00
parent 4f2a69acdd
commit 7d757f1fe6

View File

@@ -78,7 +78,7 @@ class FirstRegistrationListener implements ListenerInterface
$userId = $event->userId;
//todo 此处能做性能优化 异步执行 (异步执行要考虑事务)
$mobile = $this->userModel->where('user_id', $userId)->value('mobile') ?? '';
$mobile = $this->userModel->where('id', $userId)->value('mobile') ?? '';
if ($mobile == '') return;
$poolFlag = $this->phonePoolModel->where('phone', $mobile)->first();