Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
杨树贤
/
liexin_supplier
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
2fb2c330
authored
Dec 21, 2023
by
杨树贤
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
发送邮件通知的时机
parent
4f6fa29e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
app/Http/Services/SyncSupplierService.php
app/Http/Services/SyncSupplierService.php
View file @
2fb2c330
...
...
@@ -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'
];
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment