Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
Y
yudao-cloud
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
hblj
yudao-cloud
Commits
fe4793fb
提交
fe4793fb
authored
4月 06, 2019
作者:
YunaiV
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
后端:去除 admin 模块的 setting getting 方法
上级
5b628c86
显示空白字符变更
内嵌
并排
正在显示
49 个修改的文件
包含
246 行增加
和
1673 行删除
+246
-1673
pom.xml
admin/admin-application/pom.xml
+5
-44
AdminInfoVO.java
...ava/cn/iocoder/mall/admin/application/vo/AdminInfoVO.java
+4
-18
AdminMenuTreeNodeVO.java
...ocoder/mall/admin/application/vo/AdminMenuTreeNodeVO.java
+4
-54
AdminPageVO.java
...ava/cn/iocoder/mall/admin/application/vo/AdminPageVO.java
+4
-18
AdminRoleVO.java
...ava/cn/iocoder/mall/admin/application/vo/AdminRoleVO.java
+4
-27
AdminVO.java
...in/java/cn/iocoder/mall/admin/application/vo/AdminVO.java
+4
-45
DataDictEnumVO.java
.../cn/iocoder/mall/admin/application/vo/DataDictEnumVO.java
+4
-18
DataDictVO.java
...java/cn/iocoder/mall/admin/application/vo/DataDictVO.java
+4
-54
DataDictValueVO.java
...cn/iocoder/mall/admin/application/vo/DataDictValueVO.java
+4
-18
PassportLoginVO.java
...cn/iocoder/mall/admin/application/vo/PassportLoginVO.java
+4
-28
ResourceTreeNodeVO.java
...iocoder/mall/admin/application/vo/ResourceTreeNodeVO.java
+4
-81
ResourceVO.java
...java/cn/iocoder/mall/admin/application/vo/ResourceVO.java
+4
-72
RolePageVO.java
...java/cn/iocoder/mall/admin/application/vo/RolePageVO.java
+4
-18
RoleResourceTreeNodeVO.java
...der/mall/admin/application/vo/RoleResourceTreeNodeVO.java
+4
-62
RoleVO.java
...ain/java/cn/iocoder/mall/admin/application/vo/RoleVO.java
+4
-27
pom.xml
admin/admin-sdk/pom.xml
+3
-3
pom.xml
admin/admin-service-api/pom.xml
+16
-2
AdminBO.java
...i/src/main/java/cn/iocoder/mall/admin/api/bo/AdminBO.java
+8
-44
AdminPageBO.java
...c/main/java/cn/iocoder/mall/admin/api/bo/AdminPageBO.java
+8
-18
DataDictBO.java
...rc/main/java/cn/iocoder/mall/admin/api/bo/DataDictBO.java
+5
-63
OAuth2AccessTokenBO.java
...ava/cn/iocoder/mall/admin/api/bo/OAuth2AccessTokenBO.java
+8
-27
OAuth2AuthenticationBO.java
.../cn/iocoder/mall/admin/api/bo/OAuth2AuthenticationBO.java
+8
-18
ResourceBO.java
...rc/main/java/cn/iocoder/mall/admin/api/bo/ResourceBO.java
+5
-72
RoleBO.java
...pi/src/main/java/cn/iocoder/mall/admin/api/bo/RoleBO.java
+5
-27
RolePageBO.java
...rc/main/java/cn/iocoder/mall/admin/api/bo/RolePageBO.java
+8
-18
AdminAccessLogAddDTO.java
...a/cn/iocoder/mall/admin/api/dto/AdminAccessLogAddDTO.java
+5
-72
AdminAddDTO.java
.../main/java/cn/iocoder/mall/admin/api/dto/AdminAddDTO.java
+4
-26
AdminPageDTO.java
...main/java/cn/iocoder/mall/admin/api/dto/AdminPageDTO.java
+8
-27
AdminUpdateDTO.java
...in/java/cn/iocoder/mall/admin/api/dto/AdminUpdateDTO.java
+4
-35
DataDictAddDTO.java
...in/java/cn/iocoder/mall/admin/api/dto/DataDictAddDTO.java
+5
-45
DataDictUpdateDTO.java
...java/cn/iocoder/mall/admin/api/dto/DataDictUpdateDTO.java
+5
-45
ResourceAddDTO.java
...in/java/cn/iocoder/mall/admin/api/dto/ResourceAddDTO.java
+5
-54
ResourceUpdateDTO.java
...java/cn/iocoder/mall/admin/api/dto/ResourceUpdateDTO.java
+5
-54
RoleAddDTO.java
...c/main/java/cn/iocoder/mall/admin/api/dto/RoleAddDTO.java
+5
-9
RolePageDTO.java
.../main/java/cn/iocoder/mall/admin/api/dto/RolePageDTO.java
+8
-0
RoleUpdateDTO.java
...ain/java/cn/iocoder/mall/admin/api/dto/RoleUpdateDTO.java
+5
-18
pom.xml
admin/admin-service-impl/pom.xml
+6
-29
AdminAccessLogDO.java
...va/cn/iocoder/mall/admin/dataobject/AdminAccessLogDO.java
+4
-81
AdminDO.java
...c/main/java/cn/iocoder/mall/admin/dataobject/AdminDO.java
+4
-45
AdminRoleDO.java
...in/java/cn/iocoder/mall/admin/dataobject/AdminRoleDO.java
+4
-27
DataDictDO.java
...ain/java/cn/iocoder/mall/admin/dataobject/DataDictDO.java
+4
-53
OAuth2AccessTokenDO.java
...cn/iocoder/mall/admin/dataobject/OAuth2AccessTokenDO.java
+8
-0
OAuth2RefreshTokenDO.java
...n/iocoder/mall/admin/dataobject/OAuth2RefreshTokenDO.java
+5
-45
ResourceDO.java
...ain/java/cn/iocoder/mall/admin/dataobject/ResourceDO.java
+4
-72
RoleDO.java
...rc/main/java/cn/iocoder/mall/admin/dataobject/RoleDO.java
+4
-18
RoleResourceDO.java
...java/cn/iocoder/mall/admin/dataobject/RoleResourceDO.java
+4
-27
pom.xml
promotion/promotion-application/pom.xml
+0
-5
pom.xml
promotion/promotion-service-api/pom.xml
+5
-5
pom.xml
promotion/promotion-service-impl/pom.xml
+0
-5
没有找到文件。
admin/admin-application/pom.xml
浏览文件 @
fe4793fb
...
...
@@ -11,17 +11,17 @@
<artifactId>
admin-application
</artifactId>
<properties>
<org.mapstruct.version>
1.3.0.Final
</org.mapstruct.version>
</properties>
<dependencies>
<dependency>
<groupId>
cn.iocoder.mall
</groupId>
<artifactId>
admin-service-impl
</artifactId>
<version>
1.0-SNAPSHOT
</version>
</dependency>
<dependency>
<groupId>
cn.iocoder.mall
</groupId>
<artifactId>
admin-sdk
</artifactId>
<version>
1.0-SNAPSHOT
</version>
</dependency>
<dependency>
<groupId>
cn.iocoder.mall
</groupId>
<artifactId>
common-framework
</artifactId>
...
...
@@ -42,42 +42,24 @@
<dependency>
<groupId>
com.alibaba
</groupId>
<artifactId>
dubbo
</artifactId>
<version>
2.6.5
</version>
</dependency>
<dependency>
<groupId>
com.alibaba.boot
</groupId>
<artifactId>
dubbo-spring-boot-starter
</artifactId>
<version>
0.2.1.RELEASE
</version>
</dependency>
<dependency>
<groupId>
org.apache.curator
</groupId>
<artifactId>
curator-framework
</artifactId>
<version>
2.12.0
</version>
</dependency>
<dependency>
<groupId>
org.mapstruct
</groupId>
<artifactId>
mapstruct
</artifactId>
<!-- use mapstruct-jdk8 for Java 8 or higher -->
<version>
${org.mapstruct.version}
</version>
</dependency>
<dependency>
<groupId>
io.springfox
</groupId>
<artifactId>
springfox-swagger2
</artifactId>
<version>
2.9.2
</version>
</dependency>
<dependency>
<groupId>
io.springfox
</groupId>
<artifactId>
springfox-swagger-ui
</artifactId>
<version>
2.9.2
</version>
</dependency>
<dependency>
<groupId>
org.mapstruct
</groupId>
<artifactId>
mapstruct
</artifactId>
<!-- use mapstruct-jdk8 for Java 8 or higher -->
<version>
${org.mapstruct.version}
</version>
</dependency>
<dependency>
...
...
@@ -86,12 +68,6 @@
<optional>
true
</optional>
</dependency>
<dependency>
<groupId>
cn.iocoder.mall
</groupId>
<artifactId>
admin-sdk
</artifactId>
<version>
1.0-SNAPSHOT
</version>
</dependency>
<!--<dependency>-->
<!--<groupId>de.codecentric</groupId>-->
<!--<artifactId>spring-boot-admin-starter-server</artifactId>-->
...
...
@@ -121,27 +97,12 @@
<plugin>
<groupId>
org.apache.maven.plugins
</groupId>
<artifactId>
maven-compiler-plugin
</artifactId>
<version>
3.5.1
</version>
<configuration>
<source>
1.8
</source>
<!-- or higher, depending on your project -->
<target>
1.8
</target>
<!-- or higher, depending on your project -->
<annotationProcessorPaths>
<path>
<groupId>
org.mapstruct
</groupId>
<artifactId>
mapstruct-processor
</artifactId>
<version>
${org.mapstruct.version}
</version>
</path>
</annotationProcessorPaths>
</configuration>
</plugin>
<!-- 打包 -->
<plugin>
<groupId>
org.springframework.boot
</groupId>
<artifactId>
spring-boot-maven-plugin
</artifactId>
<configuration>
<fork>
true
</fork>
</configuration>
</plugin>
</plugins>
...
...
admin/admin-application/src/main/java/cn/iocoder/mall/admin/application/vo/AdminInfoVO.java
浏览文件 @
fe4793fb
...
...
@@ -2,10 +2,14 @@ package cn.iocoder.mall.admin.application.vo;
import
io.swagger.annotations.ApiModel
;
import
io.swagger.annotations.ApiModelProperty
;
import
lombok.Data
;
import
lombok.experimental.Accessors
;
import
java.util.Set
;
@ApiModel
(
"管理员信息 VO"
)
@Data
@Accessors
(
chain
=
true
)
public
class
AdminInfoVO
{
@ApiModelProperty
(
value
=
"管理员比那好"
,
required
=
true
,
example
=
"1"
)
...
...
@@ -13,22 +17,4 @@ public class AdminInfoVO {
@ApiModelProperty
(
value
=
"角色编号的数组"
,
required
=
true
,
example
=
"[1, 2]"
)
private
Set
<
Integer
>
roleIds
;
public
Integer
getAdminId
()
{
return
adminId
;
}
public
AdminInfoVO
setAdminId
(
Integer
adminId
)
{
this
.
adminId
=
adminId
;
return
this
;
}
public
Set
<
Integer
>
getRoleIds
()
{
return
roleIds
;
}
public
AdminInfoVO
setRoleIds
(
Set
<
Integer
>
roleIds
)
{
this
.
roleIds
=
roleIds
;
return
this
;
}
}
admin/admin-application/src/main/java/cn/iocoder/mall/admin/application/vo/AdminMenuTreeNodeVO.java
浏览文件 @
fe4793fb
...
...
@@ -2,10 +2,14 @@ package cn.iocoder.mall.admin.application.vo;
import
io.swagger.annotations.ApiModel
;
import
io.swagger.annotations.ApiModelProperty
;
import
lombok.Data
;
import
lombok.experimental.Accessors
;
import
java.util.List
;
@ApiModel
(
"管理员拥有的菜单 VO"
)
@Data
@Accessors
(
chain
=
true
)
public
class
AdminMenuTreeNodeVO
{
@ApiModelProperty
(
value
=
"菜单编号"
,
required
=
true
,
example
=
"1"
)
...
...
@@ -23,58 +27,4 @@ public class AdminMenuTreeNodeVO {
@ApiModelProperty
(
value
=
"子节点数组"
)
private
List
<
AdminMenuTreeNodeVO
>
children
;
public
Integer
getId
()
{
return
id
;
}
public
AdminMenuTreeNodeVO
setId
(
Integer
id
)
{
this
.
id
=
id
;
return
this
;
}
public
String
getHandler
()
{
return
handler
;
}
public
AdminMenuTreeNodeVO
setHandler
(
String
handler
)
{
this
.
handler
=
handler
;
return
this
;
}
public
Integer
getPid
()
{
return
pid
;
}
public
AdminMenuTreeNodeVO
setPid
(
Integer
pid
)
{
this
.
pid
=
pid
;
return
this
;
}
public
Integer
getSort
()
{
return
sort
;
}
public
AdminMenuTreeNodeVO
setSort
(
Integer
sort
)
{
this
.
sort
=
sort
;
return
this
;
}
public
String
getDisplayName
()
{
return
displayName
;
}
public
AdminMenuTreeNodeVO
setDisplayName
(
String
displayName
)
{
this
.
displayName
=
displayName
;
return
this
;
}
public
List
<
AdminMenuTreeNodeVO
>
getChildren
()
{
return
children
;
}
public
AdminMenuTreeNodeVO
setChildren
(
List
<
AdminMenuTreeNodeVO
>
children
)
{
this
.
children
=
children
;
return
this
;
}
}
admin/admin-application/src/main/java/cn/iocoder/mall/admin/application/vo/AdminPageVO.java
浏览文件 @
fe4793fb
...
...
@@ -2,10 +2,14 @@ package cn.iocoder.mall.admin.application.vo;
import
io.swagger.annotations.ApiModel
;
import
io.swagger.annotations.ApiModelProperty
;
import
lombok.Data
;
import
lombok.experimental.Accessors
;
import
java.util.List
;
@ApiModel
(
"管理员分页 VO"
)
@Data
@Accessors
(
chain
=
true
)
public
class
AdminPageVO
{
@ApiModelProperty
(
value
=
"管理员数组"
)
...
...
@@ -13,22 +17,4 @@ public class AdminPageVO {
@ApiModelProperty
(
value
=
"管理员总数"
)
private
Integer
total
;
public
List
<
AdminVO
>
getList
()
{
return
list
;
}
public
AdminPageVO
setList
(
List
<
AdminVO
>
list
)
{
this
.
list
=
list
;
return
this
;
}
public
Integer
getTotal
()
{
return
total
;
}
public
AdminPageVO
setTotal
(
Integer
total
)
{
this
.
total
=
total
;
return
this
;
}
}
admin/admin-application/src/main/java/cn/iocoder/mall/admin/application/vo/AdminRoleVO.java
浏览文件 @
fe4793fb
...
...
@@ -2,8 +2,12 @@ package cn.iocoder.mall.admin.application.vo;
import
io.swagger.annotations.ApiModel
;
import
io.swagger.annotations.ApiModelProperty
;
import
lombok.Data
;
import
lombok.experimental.Accessors
;
@ApiModel
(
"管理员拥有的角色 VO"
)
@Data
@Accessors
(
chain
=
true
)
public
class
AdminRoleVO
{
@ApiModelProperty
(
value
=
"角色编号"
,
required
=
true
,
example
=
"1"
)
...
...
@@ -13,31 +17,4 @@ public class AdminRoleVO {
@ApiModelProperty
(
value
=
"是否授权"
,
required
=
true
,
example
=
"true"
)
private
Boolean
assigned
;
public
Integer
getId
()
{
return
id
;
}
public
AdminRoleVO
setId
(
Integer
id
)
{
this
.
id
=
id
;
return
this
;
}
public
String
getName
()
{
return
name
;
}
public
AdminRoleVO
setName
(
String
name
)
{
this
.
name
=
name
;
return
this
;
}
public
Boolean
getAssigned
()
{
return
assigned
;
}
public
AdminRoleVO
setAssigned
(
Boolean
assigned
)
{
this
.
assigned
=
assigned
;
return
this
;
}
}
admin/admin-application/src/main/java/cn/iocoder/mall/admin/application/vo/AdminVO.java
浏览文件 @
fe4793fb
...
...
@@ -2,10 +2,14 @@ package cn.iocoder.mall.admin.application.vo;
import
io.swagger.annotations.ApiModel
;
import
io.swagger.annotations.ApiModelProperty
;
import
lombok.Data
;
import
lombok.experimental.Accessors
;
import
java.util.Date
;
@ApiModel
(
"管理员 VO"
)
@Data
@Accessors
(
chain
=
true
)
public
class
AdminVO
{
@ApiModelProperty
(
value
=
"管理员编号"
,
required
=
true
,
example
=
"1"
)
...
...
@@ -19,49 +23,4 @@ public class AdminVO {
@ApiModelProperty
(
value
=
"创建时间"
,
required
=
true
,
example
=
"时间戳格式"
)
private
Date
createTime
;
public
Integer
getId
()
{
return
id
;
}
public
AdminVO
setId
(
Integer
id
)
{
this
.
id
=
id
;
return
this
;
}
public
String
getUsername
()
{
return
username
;
}
public
AdminVO
setUsername
(
String
username
)
{
this
.
username
=
username
;
return
this
;
}
public
String
getNickname
()
{
return
nickname
;
}
public
AdminVO
setNickname
(
String
nickname
)
{
this
.
nickname
=
nickname
;
return
this
;
}
public
Integer
getStatus
()
{
return
status
;
}
public
AdminVO
setStatus
(
Integer
status
)
{
this
.
status
=
status
;
return
this
;
}
public
Date
getCreateTime
()
{
return
createTime
;
}
public
AdminVO
setCreateTime
(
Date
createTime
)
{
this
.
createTime
=
createTime
;
return
this
;
}
}
admin/admin-application/src/main/java/cn/iocoder/mall/admin/application/vo/DataDictEnumVO.java
浏览文件 @
fe4793fb
...
...
@@ -2,10 +2,14 @@ package cn.iocoder.mall.admin.application.vo;
import
io.swagger.annotations.ApiModel
;
import
io.swagger.annotations.ApiModelProperty
;
import
lombok.Data
;
import
lombok.experimental.Accessors
;
import
java.util.List
;
@ApiModel
(
"数据字典枚举 VO"
)
@Data
@Accessors
(
chain
=
true
)
public
class
DataDictEnumVO
{
@ApiModelProperty
(
value
=
"大类枚举值"
,
required
=
true
,
example
=
"gender"
)
...
...
@@ -13,22 +17,4 @@ public class DataDictEnumVO {
@ApiModelProperty
(
value
=
"小类数值数组"
,
required
=
true
)
private
List
<
DataDictValueVO
>
values
;
public
String
getEnumValue
()
{
return
enumValue
;
}
public
DataDictEnumVO
setEnumValue
(
String
enumValue
)
{
this
.
enumValue
=
enumValue
;
return
this
;
}
public
List
<
DataDictValueVO
>
getValues
()
{
return
values
;
}
public
DataDictEnumVO
setValues
(
List
<
DataDictValueVO
>
values
)
{
this
.
values
=
values
;
return
this
;
}
}
admin/admin-application/src/main/java/cn/iocoder/mall/admin/application/vo/DataDictVO.java
浏览文件 @
fe4793fb
...
...
@@ -2,8 +2,12 @@ package cn.iocoder.mall.admin.application.vo;
import
io.swagger.annotations.ApiModel
;
import
io.swagger.annotations.ApiModelProperty
;
import
lombok.Data
;
import
lombok.experimental.Accessors
;
@ApiModel
(
"数据字典 VO"
)
@Data
@Accessors
(
chain
=
true
)
public
class
DataDictVO
{
@ApiModelProperty
(
value
=
"编号"
,
required
=
true
,
example
=
"1"
)
...
...
@@ -19,58 +23,4 @@ public class DataDictVO {
@ApiModelProperty
(
value
=
"备注"
,
example
=
"你猜"
)
private
String
memo
;
public
Integer
getId
()
{
return
id
;
}
public
DataDictVO
setId
(
Integer
id
)
{
this
.
id
=
id
;
return
this
;
}
public
String
getEnumValue
()
{
return
enumValue
;
}
public
DataDictVO
setEnumValue
(
String
enumValue
)
{
this
.
enumValue
=
enumValue
;
return
this
;
}
public
String
getValue
()
{
return
value
;
}
public
DataDictVO
setValue
(
String
value
)
{
this
.
value
=
value
;
return
this
;
}
public
String
getDisplayName
()
{
return
displayName
;
}
public
DataDictVO
setDisplayName
(
String
displayName
)
{
this
.
displayName
=
displayName
;
return
this
;
}
public
Integer
getSort
()
{
return
sort
;
}
public
DataDictVO
setSort
(
Integer
sort
)
{
this
.
sort
=
sort
;
return
this
;
}
public
String
getMemo
()
{
return
memo
;
}
public
DataDictVO
setMemo
(
String
memo
)
{
this
.
memo
=
memo
;
return
this
;
}
}
admin/admin-application/src/main/java/cn/iocoder/mall/admin/application/vo/DataDictValueVO.java
浏览文件 @
fe4793fb
...
...
@@ -2,8 +2,12 @@ package cn.iocoder.mall.admin.application.vo;
import
io.swagger.annotations.ApiModel
;
import
io.swagger.annotations.ApiModelProperty
;
import
lombok.Data
;
import
lombok.experimental.Accessors
;
@ApiModel
(
"数据字典枚举值 VO"
)
@Data
@Accessors
(
chain
=
true
)
public
class
DataDictValueVO
{
@ApiModelProperty
(
value
=
"小类数值"
,
required
=
true
,
example
=
"1"
)
...
...
@@ -11,22 +15,4 @@ public class DataDictValueVO {
@ApiModelProperty
(
value
=
"展示名"
,
required
=
true
,
example
=
"男"
)
private
String
displayName
;
public
String
getValue
()
{
return
value
;
}
public
DataDictValueVO
setValue
(
String
value
)
{
this
.
value
=
value
;
return
this
;
}
public
String
getDisplayName
()
{
return
displayName
;
}
public
DataDictValueVO
setDisplayName
(
String
displayName
)
{
this
.
displayName
=
displayName
;
return
this
;
}
}
admin/admin-application/src/main/java/cn/iocoder/mall/admin/application/vo/PassportLoginVO.java
浏览文件 @
fe4793fb
...
...
@@ -2,8 +2,12 @@ package cn.iocoder.mall.admin.application.vo;
import
io.swagger.annotations.ApiModel
;
import
io.swagger.annotations.ApiModelProperty
;
import
lombok.Data
;
import
lombok.experimental.Accessors
;
@ApiModel
(
"登陆结果 VO"
)
@Data
@Accessors
(
chain
=
true
)
public
class
PassportLoginVO
{
@ApiModelProperty
(
value
=
"访问令牌"
,
required
=
true
,
example
=
"2e3d7635c15e47e997611707a237859f"
)
...
...
@@ -12,32 +16,4 @@ public class PassportLoginVO {
private
String
refreshToken
;
@ApiModelProperty
(
value
=
"过期时间,单位:秒"
,
required
=
true
,
example
=
"2879"
)
private
Integer
expiresIn
;
public
String
getAccessToken
()
{
return
accessToken
;
}
public
PassportLoginVO
setAccessToken
(
String
accessToken
)
{
this
.
accessToken
=
accessToken
;
return
this
;
}
public
String
getRefreshToken
()
{
return
refreshToken
;
}
public
PassportLoginVO
setRefreshToken
(
String
refreshToken
)
{
this
.
refreshToken
=
refreshToken
;
return
this
;
}
public
Integer
getExpiresIn
()
{
return
expiresIn
;
}
public
PassportLoginVO
setExpiresIn
(
Integer
expiresIn
)
{
this
.
expiresIn
=
expiresIn
;
return
this
;
}
}
admin/admin-application/src/main/java/cn/iocoder/mall/admin/application/vo/ResourceTreeNodeVO.java
浏览文件 @
fe4793fb
...
...
@@ -2,11 +2,15 @@ package cn.iocoder.mall.admin.application.vo;
import
io.swagger.annotations.ApiModel
;
import
io.swagger.annotations.ApiModelProperty
;
import
lombok.Data
;
import
lombok.experimental.Accessors
;
import
java.util.Date
;
import
java.util.List
;
@ApiModel
(
"资源树结构 VO"
)
@Data
@Accessors
(
chain
=
true
)
public
class
ResourceTreeNodeVO
{
@ApiModelProperty
(
value
=
"资源编号"
,
required
=
true
,
example
=
"1"
)
...
...
@@ -28,85 +32,4 @@ public class ResourceTreeNodeVO {
@ApiModelProperty
(
value
=
"子节点数组"
)
private
List
<
ResourceTreeNodeVO
>
children
;
public
Integer
getId
()
{
return
id
;
}
public
ResourceTreeNodeVO
setId
(
Integer
id
)
{
this
.
id
=
id
;
return
this
;
}
public
String
getName
()
{
return
name
;
}
public
ResourceTreeNodeVO
setName
(
String
name
)
{
this
.
name
=
name
;
return
this
;
}
public
Integer
getType
()
{
return
type
;
}
public
ResourceTreeNodeVO
setType
(
Integer
type
)
{
this
.
type
=
type
;
return
this
;
}
public
Integer
getSort
()
{
return
sort
;
}
public
ResourceTreeNodeVO
setSort
(
Integer
sort
)
{
this
.
sort
=
sort
;
return
this
;
}
public
String
getDisplayName
()
{
return
displayName
;
}
public
ResourceTreeNodeVO
setDisplayName
(
String
displayName
)
{
this
.
displayName
=
displayName
;
return
this
;
}
public
Date
getCreateTime
()
{
return
createTime
;
}
public
ResourceTreeNodeVO
setCreateTime
(
Date
createTime
)
{
this
.
createTime
=
createTime
;
return
this
;
}
public
Integer
getPid
()
{
return
pid
;
}
public
ResourceTreeNodeVO
setPid
(
Integer
pid
)
{
this
.
pid
=
pid
;
return
this
;
}
public
String
getHandler
()
{
return
handler
;
}
public
ResourceTreeNodeVO
setHandler
(
String
handler
)
{
this
.
handler
=
handler
;
return
this
;
}
public
List
<
ResourceTreeNodeVO
>
getChildren
()
{
return
children
;
}
public
ResourceTreeNodeVO
setChildren
(
List
<
ResourceTreeNodeVO
>
children
)
{
this
.
children
=
children
;
return
this
;
}
}
admin/admin-application/src/main/java/cn/iocoder/mall/admin/application/vo/ResourceVO.java
浏览文件 @
fe4793fb
...
...
@@ -2,10 +2,14 @@ package cn.iocoder.mall.admin.application.vo;
import
io.swagger.annotations.ApiModel
;
import
io.swagger.annotations.ApiModelProperty
;
import
lombok.Data
;
import
lombok.experimental.Accessors
;
import
java.util.Date
;
@ApiModel
(
"资源 VO"
)
@Data
@Accessors
(
chain
=
true
)
public
class
ResourceVO
{
@ApiModelProperty
(
value
=
"资源编号"
,
required
=
true
,
example
=
"1"
)
...
...
@@ -25,76 +29,4 @@ public class ResourceVO {
@ApiModelProperty
(
value
=
"操作"
,
required
=
true
,
example
=
"/order/list"
)
private
String
handler
;
public
Integer
getId
()
{
return
id
;
}
public
ResourceVO
setId
(
Integer
id
)
{
this
.
id
=
id
;
return
this
;
}
public
String
getName
()
{
return
name
;
}
public
ResourceVO
setName
(
String
name
)
{
this
.
name
=
name
;
return
this
;
}
public
Integer
getType
()
{
return
type
;
}
public
ResourceVO
setType
(
Integer
type
)
{
this
.
type
=
type
;
return
this
;
}
public
Integer
getSort
()
{
return
sort
;
}
public
ResourceVO
setSort
(
Integer
sort
)
{
this
.
sort
=
sort
;
return
this
;
}
public
String
getDisplayName
()
{
return
displayName
;
}
public
ResourceVO
setDisplayName
(
String
displayName
)
{
this
.
displayName
=
displayName
;
return
this
;
}
public
Date
getCreateTime
()
{
return
createTime
;
}
public
ResourceVO
setCreateTime
(
Date
createTime
)
{
this
.
createTime
=
createTime
;
return
this
;
}
public
Integer
getPid
()
{
return
pid
;
}
public
ResourceVO
setPid
(
Integer
pid
)
{
this
.
pid
=
pid
;
return
this
;
}
public
String
getHandler
()
{
return
handler
;
}
public
ResourceVO
setHandler
(
String
handler
)
{
this
.
handler
=
handler
;
return
this
;
}
}
admin/admin-application/src/main/java/cn/iocoder/mall/admin/application/vo/RolePageVO.java
浏览文件 @
fe4793fb
...
...
@@ -2,10 +2,14 @@ package cn.iocoder.mall.admin.application.vo;
import
io.swagger.annotations.ApiModel
;
import
io.swagger.annotations.ApiModelProperty
;
import
lombok.Data
;
import
lombok.experimental.Accessors
;
import
java.util.List
;
@ApiModel
(
"角色分页 VO"
)
@Data
@Accessors
(
chain
=
true
)
public
class
RolePageVO
{
@ApiModelProperty
(
value
=
"角色数组"
)
...
...
@@ -13,22 +17,4 @@ public class RolePageVO {
@ApiModelProperty
(
value
=
"角色总数"
)
private
Integer
count
;
public
List
<
RoleVO
>
getRoles
()
{
return
roles
;
}
public
RolePageVO
setRoles
(
List
<
RoleVO
>
roles
)
{
this
.
roles
=
roles
;
return
this
;
}
public
Integer
getCount
()
{
return
count
;
}
public
RolePageVO
setCount
(
Integer
count
)
{
this
.
count
=
count
;
return
this
;
}
}
admin/admin-application/src/main/java/cn/iocoder/mall/admin/application/vo/RoleResourceTreeNodeVO.java
浏览文件 @
fe4793fb
...
...
@@ -2,10 +2,14 @@ package cn.iocoder.mall.admin.application.vo;
import
io.swagger.annotations.ApiModel
;
import
io.swagger.annotations.ApiModelProperty
;
import
lombok.Data
;
import
lombok.experimental.Accessors
;
import
java.util.List
;
@ApiModel
(
"角色拥有的资源 VO"
)
@Data
@Accessors
(
chain
=
true
)
public
class
RoleResourceTreeNodeVO
{
@ApiModelProperty
(
value
=
"菜单编号"
,
required
=
true
,
example
=
"1"
)
...
...
@@ -25,66 +29,4 @@ public class RoleResourceTreeNodeVO {
@ApiModelProperty
(
value
=
"是否授权"
,
required
=
true
,
example
=
"true"
)
private
Boolean
assigned
;
public
Integer
getId
()
{
return
id
;
}
public
RoleResourceTreeNodeVO
setId
(
Integer
id
)
{
this
.
id
=
id
;
return
this
;
}
public
String
getHandler
()
{
return
handler
;
}
public
RoleResourceTreeNodeVO
setHandler
(
String
handler
)
{
this
.
handler
=
handler
;
return
this
;
}
public
Integer
getPid
()
{
return
pid
;
}
public
RoleResourceTreeNodeVO
setPid
(
Integer
pid
)
{
this
.
pid
=
pid
;
return
this
;
}
public
Integer
getSort
()
{
return
sort
;
}
public
RoleResourceTreeNodeVO
setSort
(
Integer
sort
)
{
this
.
sort
=
sort
;
return
this
;
}
public
String
getDisplayName
()
{
return
displayName
;
}
public
RoleResourceTreeNodeVO
setDisplayName
(
String
displayName
)
{
this
.
displayName
=
displayName
;
return
this
;
}
public
List
<
RoleResourceTreeNodeVO
>
getChildren
()
{
return
children
;
}
public
RoleResourceTreeNodeVO
setChildren
(
List
<
RoleResourceTreeNodeVO
>
children
)
{
this
.
children
=
children
;
return
this
;
}
public
Boolean
getAssigned
()
{
return
assigned
;
}
public
RoleResourceTreeNodeVO
setAssigned
(
Boolean
assigned
)
{
this
.
assigned
=
assigned
;
return
this
;
}
}
admin/admin-application/src/main/java/cn/iocoder/mall/admin/application/vo/RoleVO.java
浏览文件 @
fe4793fb
...
...
@@ -2,10 +2,14 @@ package cn.iocoder.mall.admin.application.vo;
import
io.swagger.annotations.ApiModel
;
import
io.swagger.annotations.ApiModelProperty
;
import
lombok.Data
;
import
lombok.experimental.Accessors
;
import
java.util.Date
;
@ApiModel
(
"角色 VO"
)
@Data
@Accessors
(
chain
=
true
)
public
class
RoleVO
{
@ApiModelProperty
(
value
=
"角色编号"
,
required
=
true
,
example
=
"1"
)
...
...
@@ -15,31 +19,4 @@ public class RoleVO {
@ApiModelProperty
(
value
=
"创建时间"
,
required
=
true
,
example
=
"时间戳格式"
)
private
Date
createTime
;
public
Integer
getId
()
{
return
id
;
}
public
RoleVO
setId
(
Integer
id
)
{
this
.
id
=
id
;
return
this
;
}
public
String
getName
()
{
return
name
;
}
public
RoleVO
setName
(
String
name
)
{
this
.
name
=
name
;
return
this
;
}
public
Date
getCreateTime
()
{
return
createTime
;
}
public
RoleVO
setCreateTime
(
Date
createTime
)
{
this
.
createTime
=
createTime
;
return
this
;
}
}
admin/admin-sdk/pom.xml
浏览文件 @
fe4793fb
...
...
@@ -25,29 +25,29 @@
<version>
5.1.5.RELEASE
</version>
<scope>
compile
</scope>
</dependency>
<dependency>
<groupId>
com.alibaba
</groupId>
<artifactId>
dubbo
</artifactId>
<version>
2.6.5
</version>
<scope>
compile
</scope>
</dependency>
<dependency>
<groupId>
javax.servlet
</groupId>
<artifactId>
servlet-api
</artifactId>
<version>
2.5
</version>
<scope>
provided
</scope>
</dependency>
<dependency>
<groupId>
cn.iocoder.mall
</groupId>
<artifactId>
common-framework
</artifactId>
<version>
1.0-SNAPSHOT
</version>
<scope>
compile
</scope>
</dependency>
<dependency>
<groupId>
cn.iocoder.mall
</groupId>
<artifactId>
admin-service-api
</artifactId>
<version>
1.0-SNAPSHOT
</version>
<scope>
compile
</scope>
</dependency>
</dependencies>
...
...
admin/admin-service-api/pom.xml
浏览文件 @
fe4793fb
...
...
@@ -17,9 +17,23 @@
<artifactId>
common-framework
</artifactId>
<version>
1.0-SNAPSHOT
</version>
</dependency>
<dependency>
<groupId>
javax.validation
</groupId>
<artifactId>
validation-api
</artifactId>
</dependency>
<dependency>
<groupId>
org.mapstruct
</groupId>
<artifactId>
mapstruct
</artifactId>
<!-- use mapstruct-jdk8 for Java 8 or higher -->
</dependency>
<dependency>
<groupId>
org.mapstruct
</groupId>
<artifactId>
mapstruct-jdk8
</artifactId>
</dependency>
<dependency>
<groupId>
org.
hibernate.validator
</groupId>
<artifactId>
hibernate-validator
</artifactId>
<groupId>
org.
projectlombok
</groupId>
<artifactId>
lombok
</artifactId>
</dependency>
</dependencies>
...
...
admin/admin-service-api/src/main/java/cn/iocoder/mall/admin/api/bo/AdminBO.java
浏览文件 @
fe4793fb
package
cn
.
iocoder
.
mall
.
admin
.
api
.
bo
;
import
lombok.Data
;
import
lombok.experimental.Accessors
;
import
java.util.Date
;
/**
* 管理员 BO
*/
@Data
@Accessors
(
chain
=
true
)
public
class
AdminBO
{
/**
...
...
@@ -25,48 +33,4 @@ public class AdminBO {
*/
private
Date
createTime
;
public
Integer
getId
()
{
return
id
;
}
public
AdminBO
setId
(
Integer
id
)
{
this
.
id
=
id
;
return
this
;
}
public
String
getUsername
()
{
return
username
;
}
public
AdminBO
setUsername
(
String
username
)
{
this
.
username
=
username
;
return
this
;
}
public
String
getNickname
()
{
return
nickname
;
}
public
AdminBO
setNickname
(
String
nickname
)
{
this
.
nickname
=
nickname
;
return
this
;
}
public
Integer
getStatus
()
{
return
status
;
}
public
AdminBO
setStatus
(
Integer
status
)
{
this
.
status
=
status
;
return
this
;
}
public
Date
getCreateTime
()
{
return
createTime
;
}
public
AdminBO
setCreateTime
(
Date
createTime
)
{
this
.
createTime
=
createTime
;
return
this
;
}
}
admin/admin-service-api/src/main/java/cn/iocoder/mall/admin/api/bo/AdminPageBO.java
浏览文件 @
fe4793fb
package
cn
.
iocoder
.
mall
.
admin
.
api
.
bo
;
import
lombok.Data
;
import
lombok.experimental.Accessors
;
import
java.util.List
;
/**
* 管理员分页 BO
*/
@Data
@Accessors
(
chain
=
true
)
public
class
AdminPageBO
{
/**
...
...
@@ -13,22 +21,4 @@ public class AdminPageBO {
*/
private
Integer
total
;
public
List
<
AdminBO
>
getList
()
{
return
list
;
}
public
AdminPageBO
setList
(
List
<
AdminBO
>
list
)
{
this
.
list
=
list
;
return
this
;
}
public
Integer
getTotal
()
{
return
total
;
}
public
AdminPageBO
setTotal
(
Integer
total
)
{
this
.
total
=
total
;
return
this
;
}
}
admin/admin-service-api/src/main/java/cn/iocoder/mall/admin/api/bo/DataDictBO.java
浏览文件 @
fe4793fb
package
cn
.
iocoder
.
mall
.
admin
.
api
.
bo
;
import
lombok.Data
;
import
lombok.experimental.Accessors
;
import
java.util.Date
;
/**
* 数据字典 BO
*/
@Data
@Accessors
(
chain
=
true
)
public
class
DataDictBO
{
/**
...
...
@@ -36,67 +41,4 @@ public class DataDictBO {
*/
private
Date
createTime
;
public
Integer
getId
()
{
return
id
;
}
public
DataDictBO
setId
(
Integer
id
)
{
this
.
id
=
id
;
return
this
;
}
public
String
getEnumValue
()
{
return
enumValue
;
}
public
DataDictBO
setEnumValue
(
String
enumValue
)
{
this
.
enumValue
=
enumValue
;
return
this
;
}
public
String
getValue
()
{
return
value
;
}
public
DataDictBO
setValue
(
String
value
)
{
this
.
value
=
value
;
return
this
;
}
public
String
getDisplayName
()
{
return
displayName
;
}
public
DataDictBO
setDisplayName
(
String
displayName
)
{
this
.
displayName
=
displayName
;
return
this
;
}
public
Integer
getSort
()
{
return
sort
;
}
public
DataDictBO
setSort
(
Integer
sort
)
{
this
.
sort
=
sort
;
return
this
;
}
public
String
getMemo
()
{
return
memo
;
}
public
DataDictBO
setMemo
(
String
memo
)
{
this
.
memo
=
memo
;
return
this
;
}
public
Date
getCreateTime
()
{
return
createTime
;
}
public
DataDictBO
setCreateTime
(
Date
createTime
)
{
this
.
createTime
=
createTime
;
return
this
;
}
}
admin/admin-service-api/src/main/java/cn/iocoder/mall/admin/api/bo/OAuth2AccessTokenBO.java
浏览文件 @
fe4793fb
package
cn
.
iocoder
.
mall
.
admin
.
api
.
bo
;
import
lombok.Data
;
import
lombok.experimental.Accessors
;
import
java.io.Serializable
;
/**
* OAUTH2 AccessToken BO
*/
@Data
@Accessors
(
chain
=
true
)
public
class
OAuth2AccessTokenBO
implements
Serializable
{
/**
...
...
@@ -17,31 +25,4 @@ public class OAuth2AccessTokenBO implements Serializable {
*/
private
Integer
expiresIn
;
public
String
getAccessToken
()
{
return
accessToken
;
}
public
OAuth2AccessTokenBO
setAccessToken
(
String
accessToken
)
{
this
.
accessToken
=
accessToken
;
return
this
;
}
public
String
getRefreshToken
()
{
return
refreshToken
;
}
public
OAuth2AccessTokenBO
setRefreshToken
(
String
refreshToken
)
{
this
.
refreshToken
=
refreshToken
;
return
this
;
}
public
Integer
getExpiresIn
()
{
return
expiresIn
;
}
public
OAuth2AccessTokenBO
setExpiresIn
(
Integer
expiresIn
)
{
this
.
expiresIn
=
expiresIn
;
return
this
;
}
}
admin/admin-service-api/src/main/java/cn/iocoder/mall/admin/api/bo/OAuth2AuthenticationBO.java
浏览文件 @
fe4793fb
package
cn
.
iocoder
.
mall
.
admin
.
api
.
bo
;
import
lombok.Data
;
import
lombok.experimental.Accessors
;
import
java.io.Serializable
;
import
java.util.Set
;
/**
* OAUTH2 认证 BO
*/
@Data
@Accessors
(
chain
=
true
)
public
class
OAuth2AuthenticationBO
implements
Serializable
{
/**
...
...
@@ -14,22 +22,4 @@ public class OAuth2AuthenticationBO implements Serializable {
*/
private
Set
<
Integer
>
roleIds
;
public
Integer
getAdminId
()
{
return
adminId
;
}
public
OAuth2AuthenticationBO
setAdminId
(
Integer
adminId
)
{
this
.
adminId
=
adminId
;
return
this
;
}
public
Set
<
Integer
>
getRoleIds
()
{
return
roleIds
;
}
public
OAuth2AuthenticationBO
setRoleIds
(
Set
<
Integer
>
roleIds
)
{
this
.
roleIds
=
roleIds
;
return
this
;
}
}
admin/admin-service-api/src/main/java/cn/iocoder/mall/admin/api/bo/ResourceBO.java
浏览文件 @
fe4793fb
package
cn
.
iocoder
.
mall
.
admin
.
api
.
bo
;
import
lombok.Data
;
import
lombok.experimental.Accessors
;
import
java.util.Date
;
/**
* 资源 BO
*/
@Data
@Accessors
(
chain
=
true
)
public
class
ResourceBO
{
/**
...
...
@@ -40,76 +45,4 @@ public class ResourceBO {
*/
private
String
handler
;
public
Integer
getId
()
{
return
id
;
}
public
ResourceBO
setId
(
Integer
id
)
{
this
.
id
=
id
;
return
this
;
}
public
String
getName
()
{
return
name
;
}
public
ResourceBO
setName
(
String
name
)
{
this
.
name
=
name
;
return
this
;
}
public
Integer
getType
()
{
return
type
;
}
public
ResourceBO
setType
(
Integer
type
)
{
this
.
type
=
type
;
return
this
;
}
public
Integer
getSort
()
{
return
sort
;
}
public
ResourceBO
setSort
(
Integer
sort
)
{
this
.
sort
=
sort
;
return
this
;
}
public
String
getDisplayName
()
{
return
displayName
;
}
public
ResourceBO
setDisplayName
(
String
displayName
)
{
this
.
displayName
=
displayName
;
return
this
;
}
public
Date
getCreateTime
()
{
return
createTime
;
}
public
ResourceBO
setCreateTime
(
Date
createTime
)
{
this
.
createTime
=
createTime
;
return
this
;
}
public
Integer
getPid
()
{
return
pid
;
}
public
ResourceBO
setPid
(
Integer
pid
)
{
this
.
pid
=
pid
;
return
this
;
}
public
String
getHandler
()
{
return
handler
;
}
public
ResourceBO
setHandler
(
String
handler
)
{
this
.
handler
=
handler
;
return
this
;
}
}
admin/admin-service-api/src/main/java/cn/iocoder/mall/admin/api/bo/RoleBO.java
浏览文件 @
fe4793fb
package
cn
.
iocoder
.
mall
.
admin
.
api
.
bo
;
import
lombok.Data
;
import
lombok.experimental.Accessors
;
import
java.util.Date
;
/**
* 角色 BO
*/
@Data
@Accessors
(
chain
=
true
)
public
class
RoleBO
{
/**
...
...
@@ -20,31 +25,4 @@ public class RoleBO {
*/
private
Date
createTime
;
public
Integer
getId
()
{
return
id
;
}
public
RoleBO
setId
(
Integer
id
)
{
this
.
id
=
id
;
return
this
;
}
public
String
getName
()
{
return
name
;
}
public
RoleBO
setName
(
String
name
)
{
this
.
name
=
name
;
return
this
;
}
public
Date
getCreateTime
()
{
return
createTime
;
}
public
RoleBO
setCreateTime
(
Date
createTime
)
{
this
.
createTime
=
createTime
;
return
this
;
}
}
admin/admin-service-api/src/main/java/cn/iocoder/mall/admin/api/bo/RolePageBO.java
浏览文件 @
fe4793fb
package
cn
.
iocoder
.
mall
.
admin
.
api
.
bo
;
import
lombok.Data
;
import
lombok.experimental.Accessors
;
import
java.util.List
;
/**
* 角色分页 BO
*/
@Data
@Accessors
(
chain
=
true
)
public
class
RolePageBO
{
/**
...
...
@@ -13,22 +21,4 @@ public class RolePageBO {
*/
private
Integer
count
;
public
List
<
RoleBO
>
getRoles
()
{
return
roles
;
}
public
RolePageBO
setRoles
(
List
<
RoleBO
>
roles
)
{
this
.
roles
=
roles
;
return
this
;
}
public
Integer
getCount
()
{
return
count
;
}
public
RolePageBO
setCount
(
Integer
count
)
{
this
.
count
=
count
;
return
this
;
}
}
admin/admin-service-api/src/main/java/cn/iocoder/mall/admin/api/dto/AdminAccessLogAddDTO.java
浏览文件 @
fe4793fb
package
cn
.
iocoder
.
mall
.
admin
.
api
.
dto
;
import
lombok.Data
;
import
lombok.experimental.Accessors
;
import
javax.validation.constraints.NotNull
;
import
java.util.Date
;
/**
* 管理员访问日志添加 DTO
*/
@Data
@Accessors
(
chain
=
true
)
public
class
AdminAccessLogAddDTO
{
/**
...
...
@@ -57,76 +62,4 @@ public class AdminAccessLogAddDTO {
@NotNull
(
message
=
"响应时长不能为空"
)
private
Integer
responseTime
;
public
Integer
getAdminId
()
{
return
adminId
;
}
public
AdminAccessLogAddDTO
setAdminId
(
Integer
adminId
)
{
this
.
adminId
=
adminId
;
return
this
;
}
public
String
getUri
()
{
return
uri
;
}
public
AdminAccessLogAddDTO
setUri
(
String
uri
)
{
this
.
uri
=
uri
;
return
this
;
}
public
String
getQueryString
()
{
return
queryString
;
}
public
AdminAccessLogAddDTO
setQueryString
(
String
queryString
)
{
this
.
queryString
=
queryString
;
return
this
;
}
public
String
getMethod
()
{
return
method
;
}
public
AdminAccessLogAddDTO
setMethod
(
String
method
)
{
this
.
method
=
method
;
return
this
;
}
public
String
getUserAgent
()
{
return
userAgent
;
}
public
AdminAccessLogAddDTO
setUserAgent
(
String
userAgent
)
{
this
.
userAgent
=
userAgent
;
return
this
;
}
public
String
getIp
()
{
return
ip
;
}
public
AdminAccessLogAddDTO
setIp
(
String
ip
)
{
this
.
ip
=
ip
;
return
this
;
}
public
Date
getStartTime
()
{
return
startTime
;
}
public
AdminAccessLogAddDTO
setStartTime
(
Date
startTime
)
{
this
.
startTime
=
startTime
;
return
this
;
}
public
Integer
getResponseTime
()
{
return
responseTime
;
}
public
AdminAccessLogAddDTO
setResponseTime
(
Integer
responseTime
)
{
this
.
responseTime
=
responseTime
;
return
this
;
}
}
admin/admin-service-api/src/main/java/cn/iocoder/mall/admin/api/dto/AdminAddDTO.java
浏览文件 @
fe4793fb
package
cn
.
iocoder
.
mall
.
admin
.
api
.
dto
;
import
lombok.Data
;
import
lombok.experimental.Accessors
;
import
org.hibernate.validator.constraints.Length
;
import
javax.validation.constraints.NotEmpty
;
...
...
@@ -8,6 +10,8 @@ import javax.validation.constraints.Pattern;
/**
* 管理员添加 DTO
*/
@Data
@Accessors
(
chain
=
true
)
public
class
AdminAddDTO
{
/**
...
...
@@ -30,30 +34,4 @@ public class AdminAddDTO {
@Length
(
min
=
6
,
max
=
16
,
message
=
"密码长度为 6-16 位"
)
private
String
password
;
public
String
getUsername
()
{
return
username
;
}
public
AdminAddDTO
setUsername
(
String
username
)
{
this
.
username
=
username
;
return
this
;
}
public
String
getNickname
()
{
return
nickname
;
}
public
AdminAddDTO
setNickname
(
String
nickname
)
{
this
.
nickname
=
nickname
;
return
this
;
}
public
String
getPassword
()
{
return
password
;
}
public
AdminAddDTO
setPassword
(
String
password
)
{
this
.
password
=
password
;
return
this
;
}
}
admin/admin-service-api/src/main/java/cn/iocoder/mall/admin/api/dto/AdminPageDTO.java
浏览文件 @
fe4793fb
package
cn
.
iocoder
.
mall
.
admin
.
api
.
dto
;
import
lombok.Data
;
import
lombok.experimental.Accessors
;
import
javax.validation.constraints.NotNull
;
/**
* 管理员分页 DTO
*/
@Data
@Accessors
(
chain
=
true
)
public
class
AdminPageDTO
{
/**
...
...
@@ -14,31 +22,4 @@ public class AdminPageDTO {
@NotNull
(
message
=
"每页条数不能为空"
)
private
Integer
pageSize
;
public
Integer
getPageNo
()
{
return
pageNo
;
}
public
AdminPageDTO
setPageNo
(
Integer
pageNo
)
{
this
.
pageNo
=
pageNo
;
return
this
;
}
public
Integer
getPageSize
()
{
return
pageSize
;
}
public
AdminPageDTO
setPageSize
(
Integer
pageSize
)
{
this
.
pageSize
=
pageSize
;
return
this
;
}
public
String
getNickname
()
{
return
nickname
;
}
public
AdminPageDTO
setNickname
(
String
nickname
)
{
this
.
nickname
=
nickname
;
return
this
;
}
}
admin/admin-service-api/src/main/java/cn/iocoder/mall/admin/api/dto/AdminUpdateDTO.java
浏览文件 @
fe4793fb
package
cn
.
iocoder
.
mall
.
admin
.
api
.
dto
;
import
lombok.Data
;
import
lombok.experimental.Accessors
;
import
org.hibernate.validator.constraints.Length
;
import
javax.validation.constraints.NotEmpty
;
...
...
@@ -9,6 +11,8 @@ import javax.validation.constraints.Pattern;
/**
* 管理员更新 DTO
*/
@Data
@Accessors
(
chain
=
true
)
public
class
AdminUpdateDTO
{
/**
...
...
@@ -35,39 +39,4 @@ public class AdminUpdateDTO {
@Length
(
min
=
6
,
max
=
16
,
message
=
"密码长度为 6-16 位"
)
private
String
password
;
public
String
getUsername
()
{
return
username
;
}
public
AdminUpdateDTO
setUsername
(
String
username
)
{
this
.
username
=
username
;
return
this
;
}
public
String
getNickname
()
{
return
nickname
;
}
public
AdminUpdateDTO
setNickname
(
String
nickname
)
{
this
.
nickname
=
nickname
;
return
this
;
}
public
String
getPassword
()
{
return
password
;
}
public
AdminUpdateDTO
setPassword
(
String
password
)
{
this
.
password
=
password
;
return
this
;
}
public
Integer
getId
()
{
return
id
;
}
public
AdminUpdateDTO
setId
(
Integer
id
)
{
this
.
id
=
id
;
return
this
;
}
}
admin/admin-service-api/src/main/java/cn/iocoder/mall/admin/api/dto/DataDictAddDTO.java
浏览文件 @
fe4793fb
package
cn
.
iocoder
.
mall
.
admin
.
api
.
dto
;
import
lombok.Data
;
import
lombok.experimental.Accessors
;
import
javax.validation.constraints.NotEmpty
;
import
javax.validation.constraints.NotNull
;
/**
* 数据字典添加 DTO
*/
@Data
@Accessors
(
chain
=
true
)
public
class
DataDictAddDTO
{
/**
...
...
@@ -33,49 +38,4 @@ public class DataDictAddDTO {
*/
private
String
memo
;
public
String
getEnumValue
()
{
return
enumValue
;
}
public
DataDictAddDTO
setEnumValue
(
String
enumValue
)
{
this
.
enumValue
=
enumValue
;
return
this
;
}
public
String
getValue
()
{
return
value
;
}
public
DataDictAddDTO
setValue
(
String
value
)
{
this
.
value
=
value
;
return
this
;
}
public
String
getDisplayName
()
{
return
displayName
;
}
public
DataDictAddDTO
setDisplayName
(
String
displayName
)
{
this
.
displayName
=
displayName
;
return
this
;
}
public
Integer
getSort
()
{
return
sort
;
}
public
DataDictAddDTO
setSort
(
Integer
sort
)
{
this
.
sort
=
sort
;
return
this
;
}
public
String
getMemo
()
{
return
memo
;
}
public
DataDictAddDTO
setMemo
(
String
memo
)
{
this
.
memo
=
memo
;
return
this
;
}
}
admin/admin-service-api/src/main/java/cn/iocoder/mall/admin/api/dto/DataDictUpdateDTO.java
浏览文件 @
fe4793fb
package
cn
.
iocoder
.
mall
.
admin
.
api
.
dto
;
import
lombok.Data
;
import
lombok.experimental.Accessors
;
import
javax.validation.constraints.NotEmpty
;
import
javax.validation.constraints.NotNull
;
/**
* 数据字典更新 DTO
*/
@Data
@Accessors
(
chain
=
true
)
public
class
DataDictUpdateDTO
{
/**
...
...
@@ -33,49 +38,4 @@ public class DataDictUpdateDTO {
*/
private
String
memo
;
public
Integer
getId
()
{
return
id
;
}
public
DataDictUpdateDTO
setId
(
Integer
id
)
{
this
.
id
=
id
;
return
this
;
}
public
String
getValue
()
{
return
value
;
}
public
DataDictUpdateDTO
setValue
(
String
value
)
{
this
.
value
=
value
;
return
this
;
}
public
String
getDisplayName
()
{
return
displayName
;
}
public
DataDictUpdateDTO
setDisplayName
(
String
displayName
)
{
this
.
displayName
=
displayName
;
return
this
;
}
public
Integer
getSort
()
{
return
sort
;
}
public
DataDictUpdateDTO
setSort
(
Integer
sort
)
{
this
.
sort
=
sort
;
return
this
;
}
public
String
getMemo
()
{
return
memo
;
}
public
DataDictUpdateDTO
setMemo
(
String
memo
)
{
this
.
memo
=
memo
;
return
this
;
}
}
admin/admin-service-api/src/main/java/cn/iocoder/mall/admin/api/dto/ResourceAddDTO.java
浏览文件 @
fe4793fb
package
cn
.
iocoder
.
mall
.
admin
.
api
.
dto
;
import
lombok.Data
;
import
lombok.experimental.Accessors
;
import
javax.validation.constraints.NotEmpty
;
import
javax.validation.constraints.NotNull
;
/**
* 资源添加 DTO
*/
@Data
@Accessors
(
chain
=
true
)
public
class
ResourceAddDTO
{
/**
...
...
@@ -37,58 +42,4 @@ public class ResourceAddDTO {
*/
private
String
handler
;
public
String
getName
()
{
return
name
;
}
public
ResourceAddDTO
setName
(
String
name
)
{
this
.
name
=
name
;
return
this
;
}
public
Integer
getType
()
{
return
type
;
}
public
ResourceAddDTO
setType
(
Integer
type
)
{
this
.
type
=
type
;
return
this
;
}
public
Integer
getSort
()
{
return
sort
;
}
public
ResourceAddDTO
setSort
(
Integer
sort
)
{
this
.
sort
=
sort
;
return
this
;
}
public
String
getDisplayName
()
{
return
displayName
;
}
public
ResourceAddDTO
setDisplayName
(
String
displayName
)
{
this
.
displayName
=
displayName
;
return
this
;
}
public
Integer
getPid
()
{
return
pid
;
}
public
ResourceAddDTO
setPid
(
Integer
pid
)
{
this
.
pid
=
pid
;
return
this
;
}
public
String
getHandler
()
{
return
handler
;
}
public
ResourceAddDTO
setHandler
(
String
handler
)
{
this
.
handler
=
handler
;
return
this
;
}
}
admin/admin-service-api/src/main/java/cn/iocoder/mall/admin/api/dto/ResourceUpdateDTO.java
浏览文件 @
fe4793fb
package
cn
.
iocoder
.
mall
.
admin
.
api
.
dto
;
import
lombok.Data
;
import
lombok.experimental.Accessors
;
import
javax.validation.constraints.NotEmpty
;
import
javax.validation.constraints.NotNull
;
/**
* 资源更新 DTO
*/
@Data
@Accessors
(
chain
=
true
)
public
class
ResourceUpdateDTO
{
/**
...
...
@@ -37,58 +42,4 @@ public class ResourceUpdateDTO {
*/
private
String
handler
;
public
Integer
getId
()
{
return
id
;
}
public
ResourceUpdateDTO
setId
(
Integer
id
)
{
this
.
id
=
id
;
return
this
;
}
public
String
getName
()
{
return
name
;
}
public
ResourceUpdateDTO
setName
(
String
name
)
{
this
.
name
=
name
;
return
this
;
}
public
Integer
getSort
()
{
return
sort
;
}
public
ResourceUpdateDTO
setSort
(
Integer
sort
)
{
this
.
sort
=
sort
;
return
this
;
}
public
String
getDisplayName
()
{
return
displayName
;
}
public
ResourceUpdateDTO
setDisplayName
(
String
displayName
)
{
this
.
displayName
=
displayName
;
return
this
;
}
public
Integer
getPid
()
{
return
pid
;
}
public
ResourceUpdateDTO
setPid
(
Integer
pid
)
{
this
.
pid
=
pid
;
return
this
;
}
public
String
getHandler
()
{
return
handler
;
}
public
ResourceUpdateDTO
setHandler
(
String
handler
)
{
this
.
handler
=
handler
;
return
this
;
}
}
admin/admin-service-api/src/main/java/cn/iocoder/mall/admin/api/dto/RoleAddDTO.java
浏览文件 @
fe4793fb
package
cn
.
iocoder
.
mall
.
admin
.
api
.
dto
;
import
lombok.Data
;
import
lombok.experimental.Accessors
;
import
javax.validation.constraints.NotEmpty
;
/**
* 角色添加 DTO
*/
@Data
@Accessors
(
chain
=
true
)
public
class
RoleAddDTO
{
/**
...
...
@@ -13,13 +18,4 @@ public class RoleAddDTO {
@NotEmpty
(
message
=
"角色名字不能为空"
)
private
String
name
;
public
String
getName
()
{
return
name
;
}
public
RoleAddDTO
setName
(
String
name
)
{
this
.
name
=
name
;
return
this
;
}
}
admin/admin-service-api/src/main/java/cn/iocoder/mall/admin/api/dto/RolePageDTO.java
浏览文件 @
fe4793fb
package
cn
.
iocoder
.
mall
.
admin
.
api
.
dto
;
import
lombok.Data
;
import
lombok.experimental.Accessors
;
/**
* 角色分页 DTO
*/
@Data
@Accessors
(
chain
=
true
)
public
class
RolePageDTO
{
private
Integer
pageNo
;
...
...
admin/admin-service-api/src/main/java/cn/iocoder/mall/admin/api/dto/RoleUpdateDTO.java
浏览文件 @
fe4793fb
package
cn
.
iocoder
.
mall
.
admin
.
api
.
dto
;
import
lombok.Data
;
import
lombok.experimental.Accessors
;
import
javax.validation.constraints.NotEmpty
;
import
javax.validation.constraints.NotNull
;
/**
* 角色添加 DTO
*/
@Data
@Accessors
(
chain
=
true
)
public
class
RoleUpdateDTO
{
/**
...
...
@@ -19,22 +24,4 @@ public class RoleUpdateDTO {
@NotEmpty
(
message
=
"角色名字不能为空"
)
private
String
name
;
public
Integer
getId
()
{
return
id
;
}
public
RoleUpdateDTO
setId
(
Integer
id
)
{
this
.
id
=
id
;
return
this
;
}
public
String
getName
()
{
return
name
;
}
public
RoleUpdateDTO
setName
(
String
name
)
{
this
.
name
=
name
;
return
this
;
}
}
admin/admin-service-impl/pom.xml
浏览文件 @
fe4793fb
...
...
@@ -11,21 +11,12 @@
<artifactId>
admin-service-impl
</artifactId>
<properties>
<org.mapstruct.version>
1.3.0.Final
</org.mapstruct.version>
</properties>
<dependencies>
<dependency>
<groupId>
com.alibaba
</groupId>
<artifactId>
dubbo
</artifactId>
<scope>
compile
</scope>
</dependency>
<dependency>
<groupId>
cn.iocoder.mall
</groupId>
<artifactId>
admin-service-api
</artifactId>
<version>
1.0-SNAPSHOT
</version>
<scope>
compile
</scope>
</dependency>
<dependency>
...
...
@@ -38,20 +29,18 @@
</dependency>
<dependency>
<groupId>
org.mybatis.spring.boot
</groupId>
<artifactId>
mybatis-spring-boot-starter
</artifactId>
<version>
2.0.0
</version>
<groupId>
com.alibaba
</groupId>
<artifactId>
dubbo
</artifactId>
</dependency>
<dependency>
<groupId>
org.mapstruct
</groupId>
<artifactId>
mapstruct
</artifactId>
<version>
${org.mapstruct.version}
</version>
<groupId>
org.mybatis.spring.boot
</groupId>
<artifactId>
mybatis-spring-boot-starter
</artifactId>
</dependency>
<dependency>
<groupId>
com.google.guava
</groupId>
<artifactId>
guava
</artifactId>
<version>
27.0.1-jre
</version>
</dependency>
</dependencies>
...
...
@@ -62,18 +51,6 @@
<plugin>
<groupId>
org.apache.maven.plugins
</groupId>
<artifactId>
maven-compiler-plugin
</artifactId>
<version>
3.5.1
</version>
<configuration>
<source>
1.8
</source>
<!-- or higher, depending on your project -->
<target>
1.8
</target>
<!-- or higher, depending on your project -->
<annotationProcessorPaths>
<path>
<groupId>
org.mapstruct
</groupId>
<artifactId>
mapstruct-processor
</artifactId>
<version>
${org.mapstruct.version}
</version>
</path>
</annotationProcessorPaths>
</configuration>
</plugin>
</plugins>
</build>
...
...
admin/admin-service-impl/src/main/java/cn/iocoder/mall/admin/dataobject/AdminAccessLogDO.java
浏览文件 @
fe4793fb
package
cn
.
iocoder
.
mall
.
admin
.
dataobject
;
import
cn.iocoder.common.framework.dataobject.DeletableDO
;
import
lombok.Data
;
import
lombok.experimental.Accessors
;
import
java.util.Date
;
/**
* 管理员访问日志 DO
*/
@Data
@Accessors
(
chain
=
true
)
public
class
AdminAccessLogDO
extends
DeletableDO
{
/**
...
...
@@ -48,85 +52,4 @@ public class AdminAccessLogDO extends DeletableDO {
*/
private
Integer
responseTime
;
public
Integer
getId
()
{
return
id
;
}
public
AdminAccessLogDO
setId
(
Integer
id
)
{
this
.
id
=
id
;
return
this
;
}
public
Integer
getAdminId
()
{
return
adminId
;
}
public
AdminAccessLogDO
setAdminId
(
Integer
adminId
)
{
this
.
adminId
=
adminId
;
return
this
;
}
public
String
getUri
()
{
return
uri
;
}
public
AdminAccessLogDO
setUri
(
String
uri
)
{
this
.
uri
=
uri
;
return
this
;
}
public
String
getQueryString
()
{
return
queryString
;
}
public
AdminAccessLogDO
setQueryString
(
String
queryString
)
{
this
.
queryString
=
queryString
;
return
this
;
}
public
String
getMethod
()
{
return
method
;
}
public
AdminAccessLogDO
setMethod
(
String
method
)
{
this
.
method
=
method
;
return
this
;
}
public
String
getUserAgent
()
{
return
userAgent
;
}
public
AdminAccessLogDO
setUserAgent
(
String
userAgent
)
{
this
.
userAgent
=
userAgent
;
return
this
;
}
public
String
getIp
()
{
return
ip
;
}
public
AdminAccessLogDO
setIp
(
String
ip
)
{
this
.
ip
=
ip
;
return
this
;
}
public
Date
getStartTime
()
{
return
startTime
;
}
public
AdminAccessLogDO
setStartTime
(
Date
startTime
)
{
this
.
startTime
=
startTime
;
return
this
;
}
public
Integer
getResponseTime
()
{
return
responseTime
;
}
public
AdminAccessLogDO
setResponseTime
(
Integer
responseTime
)
{
this
.
responseTime
=
responseTime
;
return
this
;
}
}
admin/admin-service-impl/src/main/java/cn/iocoder/mall/admin/dataobject/AdminDO.java
浏览文件 @
fe4793fb
package
cn
.
iocoder
.
mall
.
admin
.
dataobject
;
import
cn.iocoder.common.framework.dataobject.DeletableDO
;
import
lombok.Data
;
import
lombok.experimental.Accessors
;
/**
* 管理员实体
*/
@Data
@Accessors
(
chain
=
true
)
public
class
AdminDO
extends
DeletableDO
{
/**
...
...
@@ -30,49 +34,4 @@ public class AdminDO extends DeletableDO {
*/
private
Integer
status
;
public
Integer
getId
()
{
return
id
;
}
public
AdminDO
setId
(
Integer
id
)
{
this
.
id
=
id
;
return
this
;
}
public
String
getUsername
()
{
return
username
;
}
public
AdminDO
setUsername
(
String
username
)
{
this
.
username
=
username
;
return
this
;
}
public
String
getNickname
()
{
return
nickname
;
}
public
AdminDO
setNickname
(
String
nickname
)
{
this
.
nickname
=
nickname
;
return
this
;
}
public
String
getPassword
()
{
return
password
;
}
public
AdminDO
setPassword
(
String
password
)
{
this
.
password
=
password
;
return
this
;
}
public
Integer
getStatus
()
{
return
status
;
}
public
AdminDO
setStatus
(
Integer
status
)
{
this
.
status
=
status
;
return
this
;
}
}
admin/admin-service-impl/src/main/java/cn/iocoder/mall/admin/dataobject/AdminRoleDO.java
浏览文件 @
fe4793fb
package
cn
.
iocoder
.
mall
.
admin
.
dataobject
;
import
cn.iocoder.common.framework.dataobject.DeletableDO
;
import
lombok.Data
;
import
lombok.experimental.Accessors
;
/**
* {@link AdminDO} 和 {@link RoleDO} 的关联表
*/
@Data
@Accessors
(
chain
=
true
)
public
class
AdminRoleDO
extends
DeletableDO
{
/**
...
...
@@ -20,31 +24,4 @@ public class AdminRoleDO extends DeletableDO {
*/
private
Integer
roleId
;
public
Integer
getId
()
{
return
id
;
}
public
AdminRoleDO
setId
(
Integer
id
)
{
this
.
id
=
id
;
return
this
;
}
public
Integer
getAdminId
()
{
return
adminId
;
}
public
AdminRoleDO
setAdminId
(
Integer
adminId
)
{
this
.
adminId
=
adminId
;
return
this
;
}
public
Integer
getRoleId
()
{
return
roleId
;
}
public
AdminRoleDO
setRoleId
(
Integer
roleId
)
{
this
.
roleId
=
roleId
;
return
this
;
}
}
admin/admin-service-impl/src/main/java/cn/iocoder/mall/admin/dataobject/DataDictDO.java
浏览文件 @
fe4793fb
package
cn
.
iocoder
.
mall
.
admin
.
dataobject
;
import
cn.iocoder.common.framework.dataobject.DeletableDO
;
import
lombok.Data
;
import
lombok.experimental.Accessors
;
/**
* 数据字典
...
...
@@ -11,6 +13,8 @@ import cn.iocoder.common.framework.dataobject.DeletableDO;
* value:1 男
* value:2 女
*/
@Data
@Accessors
(
chain
=
true
)
public
class
DataDictDO
extends
DeletableDO
{
/**
...
...
@@ -38,57 +42,4 @@ public class DataDictDO extends DeletableDO {
*/
private
String
memo
;
public
String
getEnumValue
()
{
return
enumValue
;
}
public
DataDictDO
setEnumValue
(
String
enumValue
)
{
this
.
enumValue
=
enumValue
;
return
this
;
}
public
String
getValue
()
{
return
value
;
}
public
DataDictDO
setValue
(
String
value
)
{
this
.
value
=
value
;
return
this
;
}
public
String
getDisplayName
()
{
return
displayName
;
}
public
DataDictDO
setDisplayName
(
String
displayName
)
{
this
.
displayName
=
displayName
;
return
this
;
}
public
Integer
getSort
()
{
return
sort
;
}
public
DataDictDO
setSort
(
Integer
sort
)
{
this
.
sort
=
sort
;
return
this
;
}
public
String
getMemo
()
{
return
memo
;
}
public
DataDictDO
setMemo
(
String
memo
)
{
this
.
memo
=
memo
;
return
this
;
}
public
Integer
getId
()
{
return
id
;
}
public
DataDictDO
setId
(
Integer
id
)
{
this
.
id
=
id
;
return
this
;
}
}
admin/admin-service-impl/src/main/java/cn/iocoder/mall/admin/dataobject/OAuth2AccessTokenDO.java
浏览文件 @
fe4793fb
package
cn
.
iocoder
.
mall
.
admin
.
dataobject
;
import
lombok.Data
;
import
lombok.experimental.Accessors
;
import
java.util.Date
;
/**
* OAUTH2 AccessToken
*/
@Data
@Accessors
(
chain
=
true
)
public
class
OAuth2AccessTokenDO
{
/**
...
...
admin/admin-service-impl/src/main/java/cn/iocoder/mall/admin/dataobject/OAuth2RefreshTokenDO.java
浏览文件 @
fe4793fb
package
cn
.
iocoder
.
mall
.
admin
.
dataobject
;
import
lombok.Data
;
import
lombok.experimental.Accessors
;
import
java.util.Date
;
/**
...
...
@@ -7,6 +10,8 @@ import java.util.Date;
*
* idx_uid
*/
@Data
@Accessors
(
chain
=
true
)
public
class
OAuth2RefreshTokenDO
{
/**
...
...
@@ -30,49 +35,4 @@ public class OAuth2RefreshTokenDO {
*/
private
Date
createTime
;
public
String
getId
()
{
return
id
;
}
public
OAuth2RefreshTokenDO
setId
(
String
id
)
{
this
.
id
=
id
;
return
this
;
}
public
Integer
getAdminId
()
{
return
adminId
;
}
public
OAuth2RefreshTokenDO
setAdminId
(
Integer
adminId
)
{
this
.
adminId
=
adminId
;
return
this
;
}
public
Boolean
getValid
()
{
return
valid
;
}
public
OAuth2RefreshTokenDO
setValid
(
Boolean
valid
)
{
this
.
valid
=
valid
;
return
this
;
}
public
Date
getExpiresTime
()
{
return
expiresTime
;
}
public
OAuth2RefreshTokenDO
setExpiresTime
(
Date
expiresTime
)
{
this
.
expiresTime
=
expiresTime
;
return
this
;
}
public
Date
getCreateTime
()
{
return
createTime
;
}
public
OAuth2RefreshTokenDO
setCreateTime
(
Date
createTime
)
{
this
.
createTime
=
createTime
;
return
this
;
}
}
admin/admin-service-impl/src/main/java/cn/iocoder/mall/admin/dataobject/ResourceDO.java
浏览文件 @
fe4793fb
package
cn
.
iocoder
.
mall
.
admin
.
dataobject
;
import
cn.iocoder.common.framework.dataobject.DeletableDO
;
import
lombok.Data
;
import
lombok.experimental.Accessors
;
import
java.util.Date
;
/**
* 资源实体
*/
@Data
@Accessors
(
chain
=
true
)
public
class
ResourceDO
extends
DeletableDO
{
/**
...
...
@@ -58,76 +62,4 @@ public class ResourceDO extends DeletableDO {
*/
private
String
handler
;
public
Integer
getId
()
{
return
id
;
}
public
ResourceDO
setId
(
Integer
id
)
{
this
.
id
=
id
;
return
this
;
}
public
String
getName
()
{
return
name
;
}
public
ResourceDO
setName
(
String
name
)
{
this
.
name
=
name
;
return
this
;
}
public
Integer
getType
()
{
return
type
;
}
public
ResourceDO
setType
(
Integer
type
)
{
this
.
type
=
type
;
return
this
;
}
public
Integer
getSort
()
{
return
sort
;
}
public
ResourceDO
setSort
(
Integer
sort
)
{
this
.
sort
=
sort
;
return
this
;
}
public
String
getDisplayName
()
{
return
displayName
;
}
public
ResourceDO
setDisplayName
(
String
displayName
)
{
this
.
displayName
=
displayName
;
return
this
;
}
public
Date
getCreateTime
()
{
return
createTime
;
}
public
ResourceDO
setCreateTime
(
Date
createTime
)
{
this
.
createTime
=
createTime
;
return
this
;
}
public
Integer
getPid
()
{
return
pid
;
}
public
ResourceDO
setPid
(
Integer
pid
)
{
this
.
pid
=
pid
;
return
this
;
}
public
String
getHandler
()
{
return
handler
;
}
public
ResourceDO
setHandler
(
String
handler
)
{
this
.
handler
=
handler
;
return
this
;
}
}
admin/admin-service-impl/src/main/java/cn/iocoder/mall/admin/dataobject/RoleDO.java
浏览文件 @
fe4793fb
package
cn
.
iocoder
.
mall
.
admin
.
dataobject
;
import
cn.iocoder.common.framework.dataobject.DeletableDO
;
import
lombok.Data
;
import
lombok.experimental.Accessors
;
/**
* 角色实体
*/
@Data
@Accessors
(
chain
=
true
)
public
class
RoleDO
extends
DeletableDO
{
/**
...
...
@@ -16,22 +20,4 @@ public class RoleDO extends DeletableDO {
*/
private
String
name
;
public
Integer
getId
()
{
return
id
;
}
public
RoleDO
setId
(
Integer
id
)
{
this
.
id
=
id
;
return
this
;
}
public
String
getName
()
{
return
name
;
}
public
RoleDO
setName
(
String
name
)
{
this
.
name
=
name
;
return
this
;
}
}
admin/admin-service-impl/src/main/java/cn/iocoder/mall/admin/dataobject/RoleResourceDO.java
浏览文件 @
fe4793fb
package
cn
.
iocoder
.
mall
.
admin
.
dataobject
;
import
cn.iocoder.common.framework.dataobject.DeletableDO
;
import
lombok.Data
;
import
lombok.experimental.Accessors
;
/**
* {@link RoleDO} 和 {@link ResourceDO} 的关联表
*/
@Data
@Accessors
(
chain
=
true
)
public
class
RoleResourceDO
extends
DeletableDO
{
/**
...
...
@@ -20,31 +24,4 @@ public class RoleResourceDO extends DeletableDO {
*/
private
Integer
resourceId
;
public
Integer
getId
()
{
return
id
;
}
public
RoleResourceDO
setId
(
Integer
id
)
{
this
.
id
=
id
;
return
this
;
}
public
Integer
getRoleId
()
{
return
roleId
;
}
public
RoleResourceDO
setRoleId
(
Integer
roleId
)
{
this
.
roleId
=
roleId
;
return
this
;
}
public
Integer
getResourceId
()
{
return
resourceId
;
}
public
RoleResourceDO
setResourceId
(
Integer
resourceId
)
{
this
.
resourceId
=
resourceId
;
return
this
;
}
}
promotion/promotion-application/pom.xml
浏览文件 @
fe4793fb
...
...
@@ -79,11 +79,6 @@
<artifactId>
springfox-swagger-ui
</artifactId>
</dependency>
<dependency>
<groupId>
org.projectlombok
</groupId>
<artifactId>
lombok
</artifactId>
</dependency>
</dependencies>
<build>
...
...
promotion/promotion-service-api/pom.xml
浏览文件 @
fe4793fb
...
...
@@ -12,16 +12,17 @@
<artifactId>
promotion-service-api
</artifactId>
<dependencies>
<dependency>
<groupId>
javax.validation
</groupId>
<artifactId>
validation-api
</artifactId>
</dependency>
<dependency>
<groupId>
cn.iocoder.mall
</groupId>
<artifactId>
common-framework
</artifactId>
<version>
1.0-SNAPSHOT
</version>
</dependency>
<dependency>
<groupId>
javax.validation
</groupId>
<artifactId>
validation-api
</artifactId>
</dependency>
<dependency>
<groupId>
org.mapstruct
</groupId>
<artifactId>
mapstruct
</artifactId>
<!-- use mapstruct-jdk8 for Java 8 or higher -->
...
...
@@ -30,7 +31,6 @@
<groupId>
org.mapstruct
</groupId>
<artifactId>
mapstruct-jdk8
</artifactId>
</dependency>
<dependency>
<groupId>
org.projectlombok
</groupId>
<artifactId>
lombok
</artifactId>
...
...
promotion/promotion-service-impl/pom.xml
浏览文件 @
fe4793fb
...
...
@@ -47,11 +47,6 @@
<artifactId>
mybatis-spring-boot-starter
</artifactId>
</dependency>
<dependency>
<groupId>
org.projectlombok
</groupId>
<artifactId>
lombok
</artifactId>
</dependency>
<dependency>
<groupId>
com.google.guava
</groupId>
<artifactId>
guava
</artifactId>
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论