| | |
| | | public static JWTConfig jwt = SpringUtil.getBean(JWTConfig.class); |
| | | public static JdbcSetConfig jdbc = SpringUtil.getBean(JdbcSetConfig.class); |
| | | public static FileConfig file = SpringUtil.getBean(FileConfig.class); |
| | | public static ApiSetConfig api = SpringUtil.getBean(ApiSetConfig.class); |
| | | |
| | | public static String getTokenHeader() { |
| | | return jwt.getTokenHeader(); |
| | |
| | | executor-log-path: ./logs/xxl-job/jobhandler |
| | | ### 执行器日志文件保存天数 [选填] : 过期日志自动清理, 限制值大于等于3时生效; 否则, 如-1, 关闭自动清理功能; |
| | | executor-log-retention-days: 15 |
| | | |
| | | api-set: |
| | | security_key: 3d54aa3834df |
| | | water_basic_url: http://113.250.189.120:8016 |
| | |
| | | date-format: yyyy-MM-dd HH:mm:ss |
| | | datasource: |
| | | driver-class-name: org.postgresql.Driver |
| | | url: jdbc:postgresql://113.250.189.120:57654/water_trade_center |
| | | url: jdbc:postgresql://113.250.189.120:57654/test_db1 |
| | | username: lunhan |
| | | password: lunhan.20240330 |
| | | druid: |
| | |
| | | executor-log-path: ./logs/xxl-job/jobhandler |
| | | ### 执行器日志文件保存天数 [选填] : 过期日志自动清理, 限制值大于等于3时生效; 否则, 如-1, 关闭自动清理功能; |
| | | executor-log-retention-days: 15 |
| | | |
| | | api-set: |
| | | security_key: 3d54aa3834df |
| | | water_basic_url: http://localhost:9010 |
| | |
| | | date-format: yyyy-MM-dd HH:mm:ss |
| | | datasource: |
| | | driver-class-name: org.postgresql.Driver |
| | | url: jdbc:postgresql://113.250.189.120:57654/water_trade_center |
| | | url: jdbc:postgresql://113.250.189.120:57654/test_db1 |
| | | username: lunhan |
| | | password: lunhan.20240330 |
| | | druid: |
| | |
| | | executor-log-path: ./logs/xxl-job/jobhandler |
| | | ### 执行器日志文件保存天数 [选填] : 过期日志自动清理, 限制值大于等于3时生效; 否则, 如-1, 关闭自动清理功能; |
| | | executor-log-retention-days: 15 |
| | | |
| | | api-set: |
| | | security_key: 3d54aa3834df |
| | | water_basic_url: http://192.168.91.200:8016 |
| | |
| | | spring: |
| | | application: |
| | | name: water-detective |
| | | name: xxx-yyy |
| | | profiles: |
| | | # 通过mvn打包传递参数,指定配置文件环境 |
| | | active: @package.environment@ |
| | |
| | | |
| | | jwt: |
| | | token_header: Token #JWT存储的请求头 |
| | | secret: water-lunhan-secret #hardware-lunhan-secret #JWT加解密密钥(所有硬件项目通用,公用一个用户中心登录,其他项目不写登录接口,直接用token) |
| | | secret: xxx-lunhan-secret #hardware-lunhan-secret #JWT加解密密钥(所有硬件项目通用,公用一个用户中心登录,其他项目不写登录接口,直接用token) |
| | | expiration: 15811200 #JWT的超期限时间(60*60*24*183) 单位:秒 |
| | | head: 'Bearer ' #JWT负载中拿到开头 |
| | | |
| | |
| | | executor-log-path: ./logs/xxl-job/jobhandler |
| | | ### 执行器日志文件保存天数 [选填] : 过期日志自动清理, 限制值大于等于3时生效; 否则, 如-1, 关闭自动清理功能; |
| | | executor-log-retention-days: 15 |
| | | |
| | | api-set: |
| | | security_key: 3d54aa3834df |
| | | water_basic_url: http://113.250.189.120:8016 |
| | |
| | | spring: |
| | | application: |
| | | name: water-detective |
| | | name: xxx-yyy |
| | | profiles: |
| | | # 通过mvn打包传递参数,指定配置文件环境 |
| | | active: @package.environment@ |
| | |
| | | |
| | | jwt: |
| | | token_header: Token #JWT存储的请求头 |
| | | secret: water-lunhan-secret #hardware-lunhan-secret #JWT加解密密钥(所有硬件项目通用,公用一个用户中心登录,其他项目不写登录接口,直接用token) |
| | | secret: xxx-lunhan-secret #hardware-lunhan-secret #JWT加解密密钥(所有硬件项目通用,公用一个用户中心登录,其他项目不写登录接口,直接用token) |
| | | expiration: 15811200 #JWT的超期限时间(60*60*24*183) 单位:秒 |
| | | head: 'Bearer ' #JWT负载中拿到开头 |
| | | |