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
3483d58a
authored
Nov 13, 2019
by
朱继来
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
调整自营权限
parent
ad442ca9
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 @
3483d58a
...
...
@@ -382,8 +382,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 @
3483d58a
...
...
@@ -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