| | |
| | | <version>${kaptcha.version}</version>
|
| | | <exclusions>
|
| | | <exclusion>
|
| | | <artifactId>javax.servlet-api</artifactId>
|
| | | <artifactId>servlet-api</artifactId>
|
| | | <groupId>javax.servlet</groupId>
|
| | | </exclusion>
|
| | | </exclusions>
|
| | |
| | | public int roundingMode() default BigDecimal.ROUND_HALF_EVEN;
|
| | |
|
| | | /**
|
| | | * 导出时在excel中每个列的高度 单位为字符
|
| | | * 导出时在excel中每个列的高度
|
| | | */
|
| | | public double height() default 14;
|
| | |
|
| | | /**
|
| | | * 导出时在excel中每个列的宽 单位为字符
|
| | | * 导出时在excel中每个列的宽度
|
| | | */
|
| | | public double width() default 16;
|
| | |
|
| | |
| | | public ColumnType cellType() default ColumnType.STRING;
|
| | |
|
| | | /**
|
| | | * 导出列头背景色
|
| | | * 导出列头背景颜色
|
| | | */
|
| | | public IndexedColors headerBackgroundColor() default IndexedColors.GREY_50_PERCENT;
|
| | |
|
| | |
| | | public IndexedColors headerColor() default IndexedColors.WHITE;
|
| | |
|
| | | /**
|
| | | * 导出单元格背景色
|
| | | * 导出单元格背景颜色
|
| | | */
|
| | | public IndexedColors backgroundColor() default IndexedColors.WHITE;
|
| | |
|
| | |
| | | */
|
| | | private SysUser user;
|
| | |
|
| | | public LoginUser()
|
| | | {
|
| | | }
|
| | |
|
| | | public LoginUser(SysUser user, Set<String> permissions)
|
| | | {
|
| | | this.user = user;
|
| | | this.permissions = permissions;
|
| | | }
|
| | |
|
| | | public LoginUser(Long userId, Long deptId, SysUser user, Set<String> permissions)
|
| | | {
|
| | | this.userId = userId;
|
| | | this.deptId = deptId;
|
| | | this.user = user;
|
| | | this.permissions = permissions;
|
| | | }
|
| | |
|
| | | public Long getUserId()
|
| | | {
|
| | | return userId;
|
| | |
| | | public void setToken(String token)
|
| | | {
|
| | | this.token = token;
|
| | | }
|
| | |
|
| | | public LoginUser()
|
| | | {
|
| | | }
|
| | |
|
| | | public LoginUser(SysUser user, Set<String> permissions)
|
| | | {
|
| | | this.user = user;
|
| | | this.permissions = permissions;
|
| | | }
|
| | |
|
| | | public LoginUser(Long userId, Long deptId, SysUser user, Set<String> permissions)
|
| | | {
|
| | | this.userId = userId;
|
| | | this.deptId = deptId;
|
| | | this.user = user;
|
| | | this.permissions = permissions;
|
| | | }
|
| | |
|
| | | @JSONField(serialize = false)
|
| | |
| | | /**
|
| | | * 验证用户是否具有以下任意一个权限
|
| | | *
|
| | | * @param permissions 以 PERMISSION_NAMES_DELIMETER 为分隔符的权限列表
|
| | | * @param permissions 以 PERMISSION_DELIMETER 为分隔符的权限列表
|
| | | * @return 用户是否具有以下任意一个权限
|
| | | */
|
| | | public boolean hasAnyPermi(String permissions)
|
| | |
| | | messages:
|
| | | # 国际化资源文件路径
|
| | | basename: i18n/messages
|
| | | profiles: |
| | | profiles:
|
| | | active: druid
|
| | | # 文件上传
|
| | | servlet:
|
| | | multipart:
|
| | | # 单个文件大小
|
| | | max-file-size: 10MB
|
| | | # 设置总上传的文件大小
|
| | | max-request-size: 20MB
|
| | | multipart:
|
| | | # 单个文件大小
|
| | | max-file-size: 10MB
|
| | | # 设置总上传的文件大小
|
| | | max-request-size: 20MB
|
| | | # 服务模块
|
| | | devtools:
|
| | | restart:
|
| | |
| | | # 数据库索引
|
| | | database: 0
|
| | | # 密码
|
| | | password: |
| | | password:
|
| | | # 连接超时时间
|
| | | timeout: 10s
|
| | | lettuce:
|
| | |
| | |
|
| | | # token配置
|
| | | token:
|
| | | # 令牌自定义标识
|
| | | header: Authorization
|
| | | # 令牌密钥
|
| | | secret: abcdefghijklmnopqrstuvwxyz
|
| | | # 令牌有效期(默认30分钟)
|
| | | expireTime: 30
|
| | | # 令牌自定义标识
|
| | | header: Authorization
|
| | | # 令牌密钥
|
| | | secret: abcdefghijklmnopqrstuvwxyz
|
| | | # 令牌有效期(默认30分钟)
|
| | | expireTime: 30
|
| | |
|
| | | # MyBatis配置
|
| | | mybatis:
|
| | | # 搜索指定包别名
|
| | | typeAliasesPackage: com.ruoyi.project.**.domain
|
| | | # 配置mapper的扫描,找到所有的mapper.xml映射文件
|
| | | mapperLocations: classpath*:mybatis/**/*Mapper.xml
|
| | | # 加载全局的配置文件
|
| | | configLocation: classpath:mybatis/mybatis-config.xml
|
| | | # 搜索指定包别名
|
| | | typeAliasesPackage: com.ruoyi.project.**.domain
|
| | | # 配置mapper的扫描,找到所有的mapper.xml映射文件
|
| | | mapperLocations: classpath*:mybatis/**/*Mapper.xml
|
| | | # 加载全局的配置文件
|
| | | configLocation: classpath:mybatis/mybatis-config.xml
|
| | |
|
| | | # PageHelper分页插件
|
| | | pagehelper: |
| | | pagehelper:
|
| | | helperDialect: mysql
|
| | | supportMethodsArguments: true
|
| | | params: count=countSql |
| | | params: count=countSql
|
| | |
|
| | | # Swagger配置
|
| | | swagger:
|
| | |
| | | pathMapping: /dev-api
|
| | |
|
| | | # 防止XSS攻击
|
| | | xss: |
| | | xss:
|
| | | # 过滤开关
|
| | | enabled: true
|
| | | # 排除链接(多个用逗号分隔)
|