|  |  |  | 
|---|
|  |  |  | username: root | 
|---|
|  |  |  | # Jasypt加密 可到common-utils中找到JasyptUtil加解密工具类生成加密结果 格式为ENC(加密结果) 以下解密结果为123456 | 
|---|
|  |  |  | #password: wanghaojie | 
|---|
|  |  |  | password: 123456 | 
|---|
|  |  |  | password: rootroot | 
|---|
|  |  |  | type: com.alibaba.druid.pool.DruidDataSource | 
|---|
|  |  |  | driverClassName: com.mysql.jdbc.Driver | 
|---|
|  |  |  | # Druid StatViewServlet配置 | 
|---|
|  |  |  | 
|---|
|  |  |  | # 允许清空统计数据 | 
|---|
|  |  |  | reset-enable: true | 
|---|
|  |  |  | login-username: root | 
|---|
|  |  |  | login-password: ENC(PYVnAYh+j5C3jkMV1d+myj6JzDaUk7pcfTWUaYsvQdEVkuvIVf7Y0mOU9XkffxT8) | 
|---|
|  |  |  | login-password: boyingabcd12221! | 
|---|
|  |  |  | # IP白名单 多个逗号分隔 | 
|---|
|  |  |  | allow: | 
|---|
|  |  |  | # IP黑名单 | 
|---|
|  |  |  | 
|---|
|  |  |  | # token中存储用户权限数据 设为true开启后可避免每次请求再获取用户权限,但有可能导致编辑权限菜单后无法读取到最新权限数据(需用户重新登录) | 
|---|
|  |  |  | storePerms: true | 
|---|
|  |  |  | # token过期时间 redis模式有请求自动刷新(分钟) | 
|---|
|  |  |  | tokenExpireTime: 600 | 
|---|
|  |  |  | tokenExpireTime: 60000 | 
|---|
|  |  |  | # 用户选择 保存登录状态/记住我 对应token过期时间(天) | 
|---|
|  |  |  | saveLoginTime: 7 | 
|---|
|  |  |  | # 限制用户登陆错误次数(次) | 
|---|
|  |  |  | loginTimeLimit: 10 | 
|---|
|  |  |  | # 错误超过次数后多少分钟后才能继续登录(分钟) | 
|---|
|  |  |  | loginAfterTime: 10 | 
|---|
|  |  |  | loginAfterTime: 1 | 
|---|
|  |  |  | # app应用 token交互配置 | 
|---|
|  |  |  | appToken: | 
|---|
|  |  |  | # 是否开启同一平台单设备登陆(如安卓设备只允许登录一个相同账号,同时IOS设备可允许一个设备登陆) | 
|---|
|  |  |  | 
|---|
|  |  |  | - /hk/** | 
|---|
|  |  |  | - /xboot/wx/** | 
|---|
|  |  |  | - /index.html | 
|---|
|  |  |  | - /xboot/pcStatistic/** | 
|---|
|  |  |  | - /xboot/pcStatistic2/** | 
|---|
|  |  |  | - /xboot/area/getAll | 
|---|
|  |  |  | - /xboot/areaSection/getAll2 | 
|---|
|  |  |  | #    - /xboot/pcStatistic/** | 
|---|
|  |  |  | #    - /xboot/pcStatistic2/** | 
|---|
|  |  |  | #    - /xboot/pcStatistic3/** | 
|---|
|  |  |  | #    - /xboot/area/getAll | 
|---|
|  |  |  | #    - /xboot/areaSection/getAll2 | 
|---|
|  |  |  | - /xboot/message/** | 
|---|
|  |  |  | - /xboot/updateApp/** | 
|---|
|  |  |  | - /xboot/fingerprint/getUserByCode | 
|---|
|  |  |  | 
|---|
|  |  |  | # 最大保存天数 | 
|---|
|  |  |  | max-history: 7 | 
|---|
|  |  |  | # 每个文件最大大小 | 
|---|
|  |  |  | max-file-size: 5MB | 
|---|
|  |  |  | max-file-size: 5MB | 
|---|