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
862032e6
authored
Aug 28, 2018
by
朱继来
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
自营线下取消订单
parent
03a2741f
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
1 deletions
app/Http/Controllers/AddOrderController.php
app/Http/Controllers/AddOrderController.php
View file @
862032e6
...
@@ -532,9 +532,20 @@ Class AddOrderController extends Controller
...
@@ -532,9 +532,20 @@ Class AddOrderController extends Controller
$event
=
'自营线下订单审核通过'
;
$event
=
'自营线下订单审核通过'
;
}
else
{
}
else
{
$update
=
DB
::
connection
(
'order'
)
->
table
(
'lie_order'
)
->
where
(
'order_id'
,
$order_id
)
->
update
([
'status'
=>
$status
,
'cancel_time'
=>
time
()]);
// 订单取消状态
$data
[
'order_id'
]
=
$request
->
input
(
'order_id'
);
$data
[
'operator_id'
]
=
$request
->
user
->
userId
;
$data
[
'cancel_reason'
]
=
'后台审核不通过'
;
$url
=
Config
(
'website.api_domain'
)
.
'order/selfCancel'
;
$data
[
'k1'
]
=
time
();
$data
[
'k2'
]
=
md5
(
md5
(
$data
[
'k1'
])
.
'fh6y5t4rr351d2c3bryi'
);
$temp
=
json_decode
(
curlApi
(
$url
,
$data
,
"POST"
),
true
);
$event
=
'自营线下订单审核不通过'
;
$event
=
'自营线下订单审核不通过'
;
return
array
(
'errcode'
=>
$temp
[
'err_code'
],
'errmsg'
=>
$temp
[
'err_msg'
]);
}
}
// 操作记录
// 操作记录
...
...
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