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
19a7de69
authored
May 13, 2019
by
朱继来
Browse files
Options
_('Browse Files')
Download
Plain Diff
Merge branch 'master' into development
parents
ebcaca82
4ae2a1f0
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletions
app/Http/Controllers/OrderController.php
app/Http/Controllers/OrderController.php
View file @
19a7de69
...
...
@@ -663,7 +663,9 @@ Class OrderController extends Controller
// 待审核才可以
if
(
!
in_array
(
$info
[
'order_info'
][
'status'
],
[
-
1
,
1
,
2
])){
return
redirect
(
'/prompt'
)
->
with
([
'message'
=>
"该订单不符合人工审单条件~【status:
{
$info
[
'order_info'
][
'status'
]
}
】"
,
'url'
=>
$_SERVER
[
'HTTP_REFERER'
],
'jumpTime'
=>
3
,
'status'
=>
false
]);
$redirect
=
$info
[
'order_info'
][
'order_goods_type'
]
==
1
?
'/list'
:
'/self_order'
;
return
redirect
(
'/prompt'
)
->
with
([
'message'
=>
"该订单不符合人工审单条件~【status:
{
$info
[
'order_info'
][
'status'
]
}
】"
,
'url'
=>
$redirect
,
'jumpTime'
=>
3
,
'status'
=>
false
]);
}
return
view
(
'detail'
,
$info
);
...
...
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