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
c37a8585
authored
Jan 31, 2018
by
朱继来
Browse files
Options
_('Browse Files')
Download
Plain Diff
Merge branch 'zjl_adjust_check_0125' into 'master'
统计添加权限菜单 See merge request
!7
parents
5ec923b1
d0494763
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
0 deletions
app/Http/Controllers/OrderCountController.php
app/Http/Controllers/OrderCountController.php
View file @
c37a8585
...
...
@@ -8,6 +8,7 @@ use App\Http\Controllers\Controller;
use
DB
;
use
Cookie
;
use
App\Http\Page
;
use
App\Http\Controllers\PermController
;
function
CheckActive
(
$menus
,
&
$arr
,
$url
)
{
...
...
@@ -86,6 +87,12 @@ Class OrderCountController extends Controller
if
(
$menuconfig
&&
!
(
$menus
=
json_decode
(
$menuconfig
->
config_data
)))
$menus
=
[];
$perm
=
new
PermController
;
// 获取权限菜单
if
(
$request
->
user
->
email
!=
'admin@ichunt.com'
&&
$request
->
user
->
userId
!=
1000
)
$menus
=
$perm
->
getPermMenu
(
$request
,
$menus
);
$data
=
[
'header'
=>
$request
->
user
->
header
,
'uri'
=>
$uri
,
...
...
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