Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
cloud-platform
Project
Project
Details
Activity
Releases
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
youjj
cloud-platform
Commits
8515898f
Commit
8515898f
authored
Dec 12, 2019
by
hanfeng
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master-customer-management' into dev
parents
4dfd4444
9bdda6d7
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
4 deletions
+3
-4
AppStaffUserController.java
...b/wxiaoqi/security/admin/rest/AppStaffUserController.java
+3
-4
No files found.
ace-modules/ace-admin/src/main/java/com/github/wxiaoqi/security/admin/rest/AppStaffUserController.java
View file @
8515898f
...
...
@@ -34,14 +34,13 @@ public class AppStaffUserController extends BaseController<AppStaffUserBiz, AppS
* @return
* @throws Exception
*/
@Override
@GetMapping
(
"/all"
)
public
List
<
AppStaffUser
>
a
ll
()
throws
Exception
{
public
ObjectRestResponse
<
List
<
AppStaffUser
>>
getA
ll
()
throws
Exception
{
AppUserDTO
userDTO
=
(
AppUserDTO
)
publicController
.
userDetailByToken
(
authConfig
.
getToken
(
request
)).
getData
();
if
(
POSITION_NAME
.
equals
(
userDTO
.
getPositionName
()))
{
return
baseBiz
.
getAll
(
userDTO
.
getUserid
(
))
;
return
ObjectRestResponse
.
succ
(
baseBiz
.
getAll
(
userDTO
.
getUserid
()
))
;
}
return
new
ArrayList
<>
();
return
ObjectRestResponse
.
succ
();
}
@Override
...
...
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