Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
T
tl_estate
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
hujun
tl_estate
Commits
7ae97ce9
Commit
7ae97ce9
authored
Feb 01, 2018
by
zfc
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
authgroup status
parent
3c2f8364
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
Auth.php
application/index/controller/Auth.php
+2
-2
No files found.
application/index/controller/Auth.php
View file @
7ae97ce9
...
@@ -60,7 +60,7 @@ class Auth extends Basic
...
@@ -60,7 +60,7 @@ class Auth extends Basic
$pageSize
=
empty
(
$params
[
'pageSize'
])
?
15
:
$params
[
'pageSize'
];
$pageSize
=
empty
(
$params
[
'pageSize'
])
?
15
:
$params
[
'pageSize'
];
$auth_group
=
New
AuthGroup
();
$auth_group
=
New
AuthGroup
();
$where
=
'status
<> 0
'
;
$where
=
'status
in(0,1)
'
;
$search
=
$params
[
'search'
];
$search
=
$params
[
'search'
];
if
(
!
empty
(
$search
)){
if
(
!
empty
(
$search
)){
...
@@ -87,7 +87,7 @@ class Auth extends Basic
...
@@ -87,7 +87,7 @@ class Auth extends Basic
$pageNo
=
empty
(
$params
[
'pageNo'
])
?
1
:
$params
[
'pageNo'
];
$pageNo
=
empty
(
$params
[
'pageNo'
])
?
1
:
$params
[
'pageNo'
];
$pageSize
=
empty
(
$params
[
'pageSize'
])
?
15
:
$params
[
'pageSize'
];
$pageSize
=
empty
(
$params
[
'pageSize'
])
?
15
:
$params
[
'pageSize'
];
$auth_group
=
New
AuthGroup
();
$auth_group
=
New
AuthGroup
();
$where
=
'status
<>
0'
;
$where
=
'status
=
0'
;
$data
[
'list'
]
=
$auth_group
->
getList2
(
'id desc'
,
'id,title'
,
$where
);
$data
[
'list'
]
=
$auth_group
->
getList2
(
'id desc'
,
'id,title'
,
$where
);
return
$this
->
response
(
200
,
''
,
$data
);
return
$this
->
response
(
200
,
''
,
$data
);
}
}
...
...
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