Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
govdna
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
开发共享交流平台
govdna
Commits
040f641b
Commit
040f641b
authored
6 years ago
by
Fred
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
菜单
parent
27ef2675
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
128 additions
and
6 deletions
+128
-6
DictController.java
...com/govmade/modules/system/controller/DictController.java
+0
-5
MenuController.java
...com/govmade/modules/system/controller/MenuController.java
+20
-0
DictEntity.java
...in/java/com/govmade/modules/system/entity/DictEntity.java
+1
-1
MenuEntiity.java
...n/java/com/govmade/modules/system/entity/MenuEntiity.java
+107
-0
No files found.
src/main/java/com/govmade/modules/system/controller/DictController.java
View file @
040f641b
...
...
@@ -7,13 +7,10 @@ import org.springframework.beans.factory.annotation.Autowired;
import
org.springframework.web.bind.annotation.GetMapping
;
import
org.springframework.web.bind.annotation.RequestMapping
;
import
org.springframework.web.bind.annotation.RestController
;
import
com.govmade.common.utils.Constant
;
import
com.govmade.common.utils.PageUtils
;
import
com.govmade.common.utils.R
;
import
com.govmade.modules.basic.controller.AbstractController
;
import
com.govmade.modules.system.entity.DictEntity
;
import
com.govmade.modules.system.service.DictService
;
import
com.govmade.modules.system.service.UserService
;
/**
* 系统管理 - 字典设置
...
...
@@ -38,8 +35,6 @@ public class DictController extends AbstractController {
List
<
DictEntity
>
dictList
=
dictService
.
queryChilds
(
"city_level"
);
return
R
.
ok
().
put
(
"childs"
,
dictList
);
}
...
...
This diff is collapsed.
Click to expand it.
src/main/java/com/govmade/modules/system/controller/MenuController.java
0 → 100644
View file @
040f641b
package
com
.
govmade
.
modules
.
system
.
controller
;
import
org.springframework.web.bind.annotation.RequestMapping
;
import
org.springframework.web.bind.annotation.RestController
;
import
com.govmade.modules.basic.controller.AbstractController
;
/**
* 系统管理 - 菜单设置
*
* @author Fred
* @email fangtaosh@qq.com
* @date 2018年8月3日
*/
@RestController
@RequestMapping
(
"/system/menu"
)
public
class
MenuController
extends
AbstractController
{
}
This diff is collapsed.
Click to expand it.
src/main/java/com/govmade/modules/system/entity/DictEntity.java
View file @
040f641b
...
...
@@ -4,7 +4,7 @@ import com.baomidou.mybatisplus.annotations.TableName;
import
com.govmade.modules.basic.entity.BaseEntity
;
/**
* 系统管理 -
* 系统管理 -
字典設置
*
* @author Fred
* @email fangtaosh@qq.com
...
...
This diff is collapsed.
Click to expand it.
src/main/java/com/govmade/modules/system/entity/MenuEntiity.java
0 → 100644
View file @
040f641b
package
com
.
govmade
.
modules
.
system
.
entity
;
import
com.baomidou.mybatisplus.annotations.TableName
;
import
com.govmade.modules.basic.entity.BaseEntity
;
/**
* 系统管理 - 菜单设置
*
* @author Fred
* @email fangtaosh@qq.com
* @date 2018年8月7日
*/
@TableName
(
"system_menus"
)
public
class
MenuEntiity
extends
BaseEntity
<
Long
>
{
private
static
final
long
serialVersionUID
=
1L
;
private
Long
pid
;
private
String
name
;
private
String
url
;
private
String
permission
;
private
Integer
type
;
private
Integer
level
;
private
String
icon
;
private
Long
moduleId
;
private
Long
weight
;
public
Long
getPid
()
{
return
pid
;
}
public
void
setPid
(
Long
pid
)
{
this
.
pid
=
pid
;
}
public
String
getName
()
{
return
name
;
}
public
void
setName
(
String
name
)
{
this
.
name
=
name
;
}
public
String
getUrl
()
{
return
url
;
}
public
void
setUrl
(
String
url
)
{
this
.
url
=
url
;
}
public
String
getPermission
()
{
return
permission
;
}
public
void
setPermission
(
String
permission
)
{
this
.
permission
=
permission
;
}
public
Integer
getType
()
{
return
type
;
}
public
void
setType
(
Integer
type
)
{
this
.
type
=
type
;
}
public
Integer
getLevel
()
{
return
level
;
}
public
void
setLevel
(
Integer
level
)
{
this
.
level
=
level
;
}
public
String
getIcon
()
{
return
icon
;
}
public
void
setIcon
(
String
icon
)
{
this
.
icon
=
icon
;
}
public
Long
getModuleId
()
{
return
moduleId
;
}
public
void
setModuleId
(
Long
moduleId
)
{
this
.
moduleId
=
moduleId
;
}
public
Long
getWeight
()
{
return
weight
;
}
public
void
setWeight
(
Long
weight
)
{
this
.
weight
=
weight
;
}
}
This diff is collapsed.
Click to expand it.
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