Commit 8eb9739e authored by huyuchen's avatar huyuchen

提供角色类表接口

parent cac00779
......@@ -8,7 +8,6 @@ spring:
on-profile: dev
redis:
host: 127.0.0.1
password: '@yf_2017'
datasource:
type: com.zaxxer.hikari.HikariDataSource
driver-class-name: com.mysql.cj.jdbc.Driver
......@@ -25,16 +24,3 @@ spring:
maximum-pool-size: 12 # 连接池最大连接数,默认是10
auto-commit: true #此属性控制从池返回的连接的默认自动提交行为,默认值:true
max-lifetime: 0 #此属性控制池中连接的最长生命周期,值0表示无限生命周期,默认1800000即30分钟
## spring security 配置
security:
oauth2:
resource:
loadBalanced: true
token-info-uri: http://127.0.0.1:3000/oauth/check_token
# 直接放行URL
ignore:
urls:
- /v3/api-docs
- /actuator/**
- /swagger-ui/**
- /msg/**
\ No newline at end of file
......@@ -26,16 +26,3 @@ spring:
maximum-pool-size: 12 # 连接池最大连接数,默认是10
auto-commit: true #此属性控制从池返回的连接的默认自动提交行为,默认值:true
max-lifetime: 0 #此属性控制池中连接的最长生命周期,值0表示无限生命周期,默认1800000即30分钟
## spring security 配置
security:
oauth2:
resource:
loadBalanced: true
token-info-uri: http://127.0.0.1:3000/oauth/check_token
# 直接放行URL
ignore:
urls:
- /v3/api-docs
- /actuator/**
- /swagger-ui/**
- /msg/**
\ No newline at end of file
......@@ -26,15 +26,3 @@ spring:
maximum-pool-size: 12 # 连接池最大连接数,默认是10
auto-commit: true #此属性控制从池返回的连接的默认自动提交行为,默认值:true
max-lifetime: 0 #此属性控制池中连接的最长生命周期,值0表示无限生命周期,默认1800000即30分钟
## spring security 配置
security:
oauth2:
resource:
loadBalanced: true
token-info-uri: http://127.0.0.1:3000/oauth/check_token
# 直接放行URL
ignore:
urls:
- /v3/api-docs
- /actuator/**
- /swagger-ui/**
\ No newline at end of file
......@@ -41,7 +41,6 @@ security:
- /swagger-ui/**
- /sysroleinfo/getEkpRoleList
spring:
application:
name: @artifactId@
......
......@@ -39,8 +39,8 @@
<resultMap id="HcmRoleMap" type="com.yifu.cloud.plus.v1.yifu.admin.api.vo.HcmRoleInfoVo">
<result column="fd_id" property="role_id"/>
<result column="role_name" property="role_name"/>
<result column="fd_id" property="roleId"/>
<result column="role_name" property="roleName"/>
</resultMap>
<sql id="Base_Column_List">
a.fd_id,
......
......@@ -11,8 +11,8 @@ public class HcmRoleInfoVo implements Serializable {
private static final long serialVersionUID = 1L;
@Schema(description = "角色编号")
private Long role_id;
private Long roleId;
@Schema(description = "角色名称")
private String role_name;
private String roleName;
}
......@@ -32,8 +32,8 @@
</resultMap>
<resultMap id="HcmRoleMap" type="com.yifu.cloud.plus.v1.yifu.admin.api.vo.HcmRoleInfoVo">
<result column="role_id" property="role_id"/>
<result column="role_name" property="role_name"/>
<result column="role_id" property="roleId"/>
<result column="role_name" property="roleName"/>
</resultMap>
<!-- 通过用户ID,查询角色信息-->
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment