1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162 |
- spring:
- profiles:
- active: dev
- application:
- name: sample
- messages:
- basename: ValidationMessages_zh
- jpa:
- database-platform: org.hibernate.dialect.MySQL8Dialect
- open-in-view: false
-
- logging:
- config: classpath:logback-spring.xml
-
- server:
- port: 8087
- servlet:
- context-path: /sample/
-
- #如下为工程自定义的参数
- app:
- nodeNum: 001
- #path目录下要放一个comm_client.properties
- path: D:/devEnv/sample/ #工程的目录
- cache: memory #redis or memory
- jwt:
- token:
- isRepeatRefresh: true #是否可以重复刷新
- tokenExpireTime: 30 #token有效时间(分)
- refreshTokenExpireTime: 1440 #refresh_token过期时间(分)
- encryKey: pleaseChangeIt
- login:
- ignore-urls:
- - acl/auth/getMenu
- - acl/auth/hasButton
- - common/**
- - app/common/**
- - sample/**
- # - swagger-ui.html
- # - webjars/springfox-swagger-ui/
- - system/oplog/export/file
- - error
- # - null/swagger
- - swagger**/**
- - webjars/**
- - v3/**
- - doc.html
- cors:
- enable: true
- swagger:
- enable: true
- task:
- #全局是否启动定时器参数,默认值OPTION,取值说明如下。
- # NONE:都不启动
- # NONE_EXCEPT不启动除了EXCEPT,
- # OPTION:取决于taskInfo的autoStart参数
- # ALL:全部启动
- globalAutoStart: NONE_EXCEPT
- # 当globalAutoStart取值NONE_EXCEPT时,该参数才有效。该参数包含的task会自动启动
- noneExceptList:
- - SAMPLE
|