Commit 2fb2c330 by 杨树贤

发送邮件通知的时机

parent 4f6fa29e
Showing with 6 additions and 0 deletions
......@@ -308,6 +308,12 @@ class SyncSupplierService
$logService = new LogService();
$logService->AddAdminLog($supplierId, LogModel::UPDATE_OPERATE, '实体名单设置', $logContent);
//不属于加入实体名单和移除实体名单不去发邮件
if (!in_array($result, [1, -1])) {
return true;
}
//还要去发送邮箱给采购员,线上采购员,采购总
$data['data']['supplier_code'] = $supplier['supplier_code'];
$data['data']['supplier_name'] = $supplier['supplier_name'];
......
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