Commit 59a0af0d by 杨树贤

邮箱服务器

parent c8d224ea
Showing with 5 additions and 2 deletions
......@@ -46,10 +46,13 @@ class UserService
if ($updateRes) {
AutoAssignCustomerService::incAssignNumByDepartmentId($assign['department_id']);
}
//发送提醒邮件
$salesEmail = CmsUserModel::where('userId', $salesId)->value('email');
try {
//发送提醒邮件
Mail::to($salesEmail)->send(new UserRegisterNotification());
} catch (\Exception $exception) {
\Log::error('销售员的邮箱不存在:'.$salesEmail);
}
return $userId;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment