Commit 59a0af0d by 杨树贤

邮箱服务器

parent c8d224ea
Showing with 6 additions and 3 deletions
......@@ -46,10 +46,13 @@ class UserService
if ($updateRes) {
AutoAssignCustomerService::incAssignNumByDepartmentId($assign['department_id']);
}
//发送提醒邮件
$salesEmail = CmsUserModel::where('userId', $salesId)->value('email');
Mail::to($salesEmail)->send(new UserRegisterNotification());
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