Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
朱继来
/
后台订单管理
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
dfef04bc
authored
Dec 20, 2019
by
allen
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
加入友好提示
parent
95fa5e61
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
app/Http/Controllers/OrderController.php
app/Http/Controllers/OrderController.php
View file @
dfef04bc
...
@@ -2145,11 +2145,11 @@ Class OrderController extends Controller
...
@@ -2145,11 +2145,11 @@ Class OrderController extends Controller
$crm_header
=
array
(
'api-key: crm a1b2c3d4e5f6g7h8i9jk'
);
$crm_header
=
array
(
'api-key: crm a1b2c3d4e5f6g7h8i9jk'
);
$res
=
json_decode
(
post_curl
(
$crm_url
,
$data
,
$crm_header
));
$res
=
json_decode
(
post_curl
(
$crm_url
,
$data
,
$crm_header
));
if
(
$res
->
err_code
==
0
){
if
(
!
empty
(
$res
->
err_code
)
&&
$res
->
err_code
==
0
){
echo
json_encode
([
'errcode'
=>
1
,
'errmsg'
=>
'发送成功'
]);
echo
json_encode
([
'errcode'
=>
1
,
'errmsg'
=>
'发送成功'
]);
exit
;
exit
;
}
else
{
}
else
{
echo
json_encode
([
'errcode'
=>-
1
,
'errmsg'
=>
$res
->
msg
]);
echo
json_encode
([
'errcode'
=>-
1
,
'errmsg'
=>
'邮件发送接口错误,邮件发送失败'
]);
exit
;
exit
;
}
}
...
...
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