Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
semour
/
semour_web
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
1ceaa074
authored
Dec 29, 2022
by
SUDPTDUBLXEROFX\Administrator
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
发送钉钉消息
parent
05354937
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
2 deletions
app/Http/Services/OrderService.php
app/Http/Services/OrderService.php
View file @
1ceaa074
...
...
@@ -229,11 +229,15 @@ class OrderService
#发送钉钉消息
$saleInfo
=
CmsUserModel
::
getInfoByUserId
(
$userInfo
[
"sale_id"
]);
$msgData
=
[
'name'
=>
$userInfo
[
"account_properties"
]
==
1
?
$userInfo
[
"name"
]
:
$userInfo
[
"company_name"
],
'order_sn'
=>
$order_sn
,
];
if
(
$saleInfo
[
"mobile"
]){
SendMsg
(
$
d
ata
,
'semour_order'
,[
$saleInfo
[
"mobile"
]],
0
);
SendMsg
(
$
msgD
ata
,
'semour_order'
,[
$saleInfo
[
"mobile"
]],
0
);
}
if
(
$saleInfo
[
"email"
]){
SendMsg
(
$
d
ata
,
'semour_order'
,[
$saleInfo
[
"email"
]],
1
);
SendMsg
(
$
msgD
ata
,
'semour_order'
,[
$saleInfo
[
"email"
]],
1
);
}
return
$order_id
;
...
...
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