feat : chef name
This commit is contained in:
@@ -78,7 +78,7 @@ class FirstRegistrationListener implements ListenerInterface
|
|||||||
$userId = $event->userId;
|
$userId = $event->userId;
|
||||||
|
|
||||||
//todo 此处能做性能优化 异步执行 (异步执行要考虑事务)
|
//todo 此处能做性能优化 异步执行 (异步执行要考虑事务)
|
||||||
$mobile = $this->userModel->where('user_id', $userId)->value('mobile') ?? '';
|
$mobile = $this->userModel->where('id', $userId)->value('mobile') ?? '';
|
||||||
if ($mobile == '') return;
|
if ($mobile == '') return;
|
||||||
|
|
||||||
$poolFlag = $this->phonePoolModel->where('phone', $mobile)->first();
|
$poolFlag = $this->phonePoolModel->where('phone', $mobile)->first();
|
||||||
|
|||||||
Reference in New Issue
Block a user