Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
Y
YX_IDENT_REFACTORING
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
zhangyusheng
YX_IDENT_REFACTORING
Commits
6bef8517
Commit
6bef8517
authored
Nov 19, 2018
by
Administrator
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/dev' into dev
parents
02557039
1b4297e6
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
42 deletions
+0
-42
AdminApi.java
src/main/java/com/yxproject/start/api/AdminApi.java
+0
-39
UserApi.java
src/main/java/com/yxproject/start/api/UserApi.java
+0
-3
No files found.
src/main/java/com/yxproject/start/api/AdminApi.java
View file @
6bef8517
...
@@ -274,45 +274,6 @@ public class AdminApi {
...
@@ -274,45 +274,6 @@ public class AdminApi {
return
list
;
return
list
;
}
}
/**
* 角色删除;
* @return
*/
// @GET
// @Path("roleDel")
// @RequiresPermissions("role.del")
// public String roleDel(@QueryParam("roleId") String roleId,@Context HttpServletResponse response){
// response.setCharacterEncoding("UTF-8");
// Map map = new HashMap();
// boolean flag = false;
// flag = sysRoleService.deleteRole(Integer.parseInt(roleId));
// if(flag){
// map.put("returnMsg","删除成功");
// }else{
// map.put("returnMsg","删除失败");
// }
// return map.toString();
// }
// @GET
// @Path("roleBack")
// public String roleBack(@QueryParam("roleId") String roleId,@Context HttpServletResponse response){
// response.setCharacterEncoding("UTF-8");
// Map map = new HashMap();
// boolean flag = false;
// flag = sysRoleService.backRole(Integer.parseInt(roleId));
// if(flag){
// map.put("returnMsg","启用成功");
// }else{
// map.put("returnMsg","启用失败");
// }
// return map.toString();
// }
@RequestMapping
(
"roleAdd"
)
@RequestMapping
(
"roleAdd"
)
public
Map
<
String
,
String
>
roleAdd
(
@RequestBody
String
jsonStr
,
HttpServletResponse
resp
)
{
public
Map
<
String
,
String
>
roleAdd
(
@RequestBody
String
jsonStr
,
HttpServletResponse
resp
)
{
resp
.
setCharacterEncoding
(
"UTF-8"
);
resp
.
setCharacterEncoding
(
"UTF-8"
);
...
...
src/main/java/com/yxproject/start/api/UserApi.java
View file @
6bef8517
...
@@ -38,9 +38,6 @@ public class UserApi {
...
@@ -38,9 +38,6 @@ public class UserApi {
@Autowired
@Autowired
private
PoliceStationApplyReasonService
policeStationApplyReasonService
;
private
PoliceStationApplyReasonService
policeStationApplyReasonService
;
@Autowired
private
SysPermissionService
sysPermissionService
;
@Autowired
@Autowired
private
FailedCardService
failedCardService
;
private
FailedCardService
failedCardService
;
...
...
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