Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
月轩居士
jeecg-boot
提交
d37f49e2
J
jeecg-boot
项目概览
月轩居士
/
jeecg-boot
与 Fork 源项目一致
Fork自
jeecg / jeecg-boot
通知
28
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
J
jeecg-boot
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
d37f49e2
编写于
4月 22, 2019
作者:
JEECG低代码平台
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
规范化代码
上级
e2d9a66a
变更
4
显示空白变更内容
内联
并排
Showing
4 changed file
with
0 addition
and
17 deletion
+0
-17
jeecg-boot/src/main/java/org/jeecg/modules/system/controller/SysDepartController.java
.../jeecg/modules/system/controller/SysDepartController.java
+0
-4
jeecg-boot/src/main/java/org/jeecg/modules/system/controller/SysPermissionController.java
...cg/modules/system/controller/SysPermissionController.java
+0
-5
jeecg-boot/src/main/java/org/jeecg/modules/system/controller/SysRoleController.java
...rg/jeecg/modules/system/controller/SysRoleController.java
+0
-3
jeecg-boot/src/main/java/org/jeecg/modules/system/controller/SysUserController.java
...rg/jeecg/modules/system/controller/SysUserController.java
+0
-5
未找到文件。
jeecg-boot/src/main/java/org/jeecg/modules/system/controller/SysDepartController.java
浏览文件 @
d37f49e2
...
...
@@ -57,7 +57,6 @@ public class SysDepartController {
* @return
*/
@RequestMapping
(
value
=
"/add"
,
method
=
RequestMethod
.
POST
)
public
Result
<
SysDepart
>
add
(
@RequestBody
SysDepart
sysDepart
,
HttpServletRequest
request
)
{
Result
<
SysDepart
>
result
=
new
Result
<
SysDepart
>();
String
username
=
JwtUtil
.
getUserNameByToken
(
request
);
...
...
@@ -80,7 +79,6 @@ public class SysDepartController {
* @return
*/
@RequestMapping
(
value
=
"/edit"
,
method
=
RequestMethod
.
PUT
)
public
Result
<
SysDepart
>
edit
(
@RequestBody
SysDepart
sysDepart
,
HttpServletRequest
request
)
{
String
username
=
JwtUtil
.
getUserNameByToken
(
request
);
...
...
@@ -105,7 +103,6 @@ public class SysDepartController {
* @return
*/
@RequestMapping
(
value
=
"/delete"
,
method
=
RequestMethod
.
DELETE
)
public
Result
<
SysDepart
>
delete
(
@RequestParam
(
name
=
"id"
,
required
=
true
)
String
id
)
{
Result
<
SysDepart
>
result
=
new
Result
<
SysDepart
>();
...
...
@@ -129,7 +126,6 @@ public class SysDepartController {
* @return
*/
@RequestMapping
(
value
=
"/deleteBatch"
,
method
=
RequestMethod
.
DELETE
)
public
Result
<
SysDepart
>
deleteBatch
(
@RequestParam
(
name
=
"ids"
,
required
=
true
)
String
ids
)
{
Result
<
SysDepart
>
result
=
new
Result
<
SysDepart
>();
...
...
jeecg-boot/src/main/java/org/jeecg/modules/system/controller/SysPermissionController.java
浏览文件 @
d37f49e2
...
...
@@ -109,7 +109,6 @@ public class SysPermissionController {
@RequestMapping
(
value
=
"/add"
,
method
=
RequestMethod
.
POST
)
public
Result
<
SysPermission
>
add
(
@RequestBody
SysPermission
permission
)
{
Result
<
SysPermission
>
result
=
new
Result
<
SysPermission
>();
try
{
...
...
@@ -125,7 +124,6 @@ public class SysPermissionController {
}
@RequestMapping
(
value
=
"/edit"
,
method
=
{
RequestMethod
.
PUT
,
RequestMethod
.
POST
})
public
Result
<
SysPermission
>
edit
(
@RequestBody
SysPermission
permission
)
{
Result
<
SysPermission
>
result
=
new
Result
<>();
try
{
...
...
@@ -141,7 +139,6 @@ public class SysPermissionController {
}
@RequestMapping
(
value
=
"/delete"
,
method
=
RequestMethod
.
DELETE
)
public
Result
<
SysPermission
>
delete
(
@RequestParam
(
name
=
"id"
,
required
=
true
)
String
id
)
{
Result
<
SysPermission
>
result
=
new
Result
<>();
try
{
...
...
@@ -157,7 +154,6 @@ public class SysPermissionController {
@RequestMapping
(
value
=
"/deleteBatch"
,
method
=
RequestMethod
.
DELETE
)
public
Result
<
SysPermission
>
deleteBatch
(
@RequestParam
(
name
=
"ids"
,
required
=
true
)
String
ids
)
{
Result
<
SysPermission
>
result
=
new
Result
<>();
try
{
...
...
@@ -251,7 +247,6 @@ public class SysPermissionController {
* @return
*/
@RequestMapping
(
value
=
"/saveRolePermission"
,
method
=
RequestMethod
.
POST
)
public
Result
<
String
>
saveRolePermission
(
@RequestBody
JSONObject
json
)
{
Result
<
String
>
result
=
new
Result
<>();
try
{
...
...
jeecg-boot/src/main/java/org/jeecg/modules/system/controller/SysRoleController.java
浏览文件 @
d37f49e2
...
...
@@ -126,7 +126,6 @@ public class SysRoleController {
* @return
*/
@RequestMapping
(
value
=
"/edit"
,
method
=
RequestMethod
.
PUT
)
public
Result
<
SysRole
>
edit
(
@RequestBody
SysRole
role
)
{
Result
<
SysRole
>
result
=
new
Result
<
SysRole
>();
SysRole
sysrole
=
sysRoleService
.
getById
(
role
.
getId
());
...
...
@@ -150,7 +149,6 @@ public class SysRoleController {
* @return
*/
@RequestMapping
(
value
=
"/delete"
,
method
=
RequestMethod
.
DELETE
)
public
Result
<
SysRole
>
delete
(
@RequestParam
(
name
=
"id"
,
required
=
true
)
String
id
)
{
Result
<
SysRole
>
result
=
new
Result
<
SysRole
>();
SysRole
sysrole
=
sysRoleService
.
getById
(
id
);
...
...
@@ -172,7 +170,6 @@ public class SysRoleController {
* @return
*/
@RequestMapping
(
value
=
"/deleteBatch"
,
method
=
RequestMethod
.
DELETE
)
public
Result
<
SysRole
>
deleteBatch
(
@RequestParam
(
name
=
"ids"
,
required
=
true
)
String
ids
)
{
Result
<
SysRole
>
result
=
new
Result
<
SysRole
>();
if
(
ids
==
null
||
""
.
equals
(
ids
.
trim
()))
{
...
...
jeecg-boot/src/main/java/org/jeecg/modules/system/controller/SysUserController.java
浏览文件 @
d37f49e2
...
...
@@ -91,7 +91,6 @@ public class SysUserController {
}
@RequestMapping
(
value
=
"/add"
,
method
=
RequestMethod
.
POST
)
public
Result
<
SysUser
>
add
(
@RequestBody
JSONObject
jsonObject
)
{
Result
<
SysUser
>
result
=
new
Result
<
SysUser
>();
String
selectedRoles
=
jsonObject
.
getString
(
"selectedroles"
);
...
...
@@ -115,7 +114,6 @@ public class SysUserController {
}
@RequestMapping
(
value
=
"/edit"
,
method
=
RequestMethod
.
PUT
)
public
Result
<
SysUser
>
edit
(
@RequestBody
JSONObject
jsonObject
)
{
Result
<
SysUser
>
result
=
new
Result
<
SysUser
>();
try
{
...
...
@@ -140,7 +138,6 @@ public class SysUserController {
}
@RequestMapping
(
value
=
"/delete"
,
method
=
RequestMethod
.
DELETE
)
public
Result
<
SysUser
>
delete
(
@RequestParam
(
name
=
"id"
,
required
=
true
)
String
id
)
{
Result
<
SysUser
>
result
=
new
Result
<
SysUser
>();
// 定义SysUserDepart实体类的数据库查询LambdaQueryWrapper
...
...
@@ -162,7 +159,6 @@ public class SysUserController {
}
@RequestMapping
(
value
=
"/deleteBatch"
,
method
=
RequestMethod
.
DELETE
)
public
Result
<
SysUser
>
deleteBatch
(
@RequestParam
(
name
=
"ids"
,
required
=
true
)
String
ids
)
{
// 定义SysUserDepart实体类的数据库查询对象LambdaQueryWrapper
LambdaQueryWrapper
<
SysUserDepart
>
query
=
new
LambdaQueryWrapper
<
SysUserDepart
>();
...
...
@@ -292,7 +288,6 @@ public class SysUserController {
* 修改密码
*/
@RequestMapping
(
value
=
"/changPassword"
,
method
=
RequestMethod
.
PUT
)
public
Result
<
SysUser
>
changPassword
(
@RequestBody
SysUser
sysUser
)
{
Result
<
SysUser
>
result
=
new
Result
<
SysUser
>();
String
password
=
sysUser
.
getPassword
();
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录