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
aa1960a7
authored
Nov 13, 2019
by
朱继来
Browse files
Options
_('Browse Files')
Download
Plain Diff
Merge branch 'master' of
http://119.23.72.7/zhujilai/Order
into zjl_form_resubmit_20191113
parents
065fdfdc
3483d58a
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
2 deletions
app/Http/Controllers/OrderController.php
config/perm_args.php
app/Http/Controllers/OrderController.php
View file @
aa1960a7
...
...
@@ -383,8 +383,8 @@ Class OrderController extends Controller
$info
=
$this
->
getOrderInfo
(
$request
,
1
);
$info
[
'title'
]
=
'订单列表'
;
// 若为京东自营、自营客服角色,则跳转到自营列表
if
(
in_array
(
$info
[
'role'
],
[
6
,
7
,
11
,
12
]
))
{
// 若为京东自营、自营客服
等
角色,则跳转到自营列表
if
(
in_array
(
$info
[
'role'
],
Config
(
'perm_args.self_roles'
)
))
{
return
redirect
(
'self_order'
);
}
...
...
config/perm_args.php
View file @
aa1960a7
...
...
@@ -64,4 +64,7 @@ return [
(
object
)[
'userId'
=>
1582
,
'name'
=>
'滕欢欢'
,
'status'
=>
0
],
],
// 自营角色 无法查看联营订单
'self_roles'
=>
[
6
,
7
,
10
,
11
,
12
],
];
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