|
@@ -2,14 +2,18 @@ server:
|
|
servlet:
|
|
servlet:
|
|
context-path: /
|
|
context-path: /
|
|
port: 8809
|
|
port: 8809
|
|
|
|
+
|
|
sa-token:
|
|
sa-token:
|
|
activity-timeout: 18000
|
|
activity-timeout: 18000
|
|
token-name: token
|
|
token-name: token
|
|
token-style: tik
|
|
token-style: tik
|
|
- # 是否允许同一账号并发登录 (为true时允许一起登录, 为false时新登录挤掉旧登录)
|
|
|
|
is-concurrent: true
|
|
is-concurrent: true
|
|
timeout: 604800
|
|
timeout: 604800
|
|
|
|
+
|
|
spring:
|
|
spring:
|
|
|
|
+# profiles:
|
|
|
|
+# active: dev
|
|
|
|
+
|
|
thymeleaf:
|
|
thymeleaf:
|
|
cache: false
|
|
cache: false
|
|
mode: HTML5
|
|
mode: HTML5
|
|
@@ -22,26 +26,71 @@ spring:
|
|
multipart:
|
|
multipart:
|
|
max-file-size: 1000MB
|
|
max-file-size: 1000MB
|
|
max-request-size: 1000MB
|
|
max-request-size: 1000MB
|
|
- profiles:
|
|
|
|
- active: dev
|
|
|
|
jackson:
|
|
jackson:
|
|
default-property-inclusion: non_null
|
|
default-property-inclusion: non_null
|
|
serialization:
|
|
serialization:
|
|
INDENT_OUTPUT: true
|
|
INDENT_OUTPUT: true
|
|
date-format: yyyy-MM-dd HH:mm:ss
|
|
date-format: yyyy-MM-dd HH:mm:ss
|
|
time-zone: Asia/Shanghai
|
|
time-zone: Asia/Shanghai
|
|
-#mybatis
|
|
|
|
-mybatis-plus:
|
|
|
|
- typeAliasesPackage: com.example.mos.domain
|
|
|
|
- global-config:
|
|
|
|
- db-config:
|
|
|
|
- id-type: AUTO
|
|
|
|
- logic-delete-value: 0
|
|
|
|
- logic-not-delete-value: 1
|
|
|
|
- configuration:
|
|
|
|
- #log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
|
|
|
|
- map-underscore-to-camel-case: true
|
|
|
|
- cache-enabled: false
|
|
|
|
- mapper-locations: classpath:mapper/*.xml
|
|
|
|
|
|
|
|
|
|
+ rabbitmq:
|
|
|
|
+ host: 192.168.2.24
|
|
|
|
+ port: 5672
|
|
|
|
+ username: admin
|
|
|
|
+ password: 123456
|
|
|
|
+
|
|
|
|
+ data:
|
|
|
|
+ redis:
|
|
|
|
+ host: 192.168.2.24
|
|
|
|
+ port: 6379
|
|
|
|
+ database: 3
|
|
|
|
+ password: Xx0GWxdWQJxx6Swe
|
|
|
|
+ lettuce:
|
|
|
|
+ pool:
|
|
|
|
+ max-active: 20
|
|
|
|
+ max-idle: 20
|
|
|
|
+ min-idle: 0
|
|
|
|
+ max-wait: -1ms
|
|
|
|
+ timeout: 2000ms
|
|
|
|
+
|
|
|
|
+ datasource:
|
|
|
|
+ url: jdbc:mysql://192.168.2.24:3306/mos?autoReconnect=true&useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=CONVERT_TO_NULL&useSSL=false&serverTimezone=GMT%2B8
|
|
|
|
+ username: root
|
|
|
|
+ password: rrzTwWAYX8Gxh5JH
|
|
|
|
+ driver-class-name: com.mysql.cj.jdbc.Driver
|
|
|
|
+ type: com.alibaba.druid.pool.DruidDataSource
|
|
|
|
+ druid:
|
|
|
|
+ stat-view-servlet:
|
|
|
|
+ login-username: admin
|
|
|
|
+ login-password: Cslg2022+
|
|
|
|
+ web-stat-filter:
|
|
|
|
+ exclusions: "*.js,*.gif,*.jpg,*.png,*.css,*.ico,/druid/*"
|
|
|
|
|
|
|
|
+ quartz:
|
|
|
|
+ properties:
|
|
|
|
+ org:
|
|
|
|
+ quartz:
|
|
|
|
+ scheduler:
|
|
|
|
+ instanceName: DefaultQuartzScheduler
|
|
|
|
+ instanceId: AUTO
|
|
|
|
+ jobStore:
|
|
|
|
+ class: org.springframework.scheduling.quartz.LocalDataSourceJobStore
|
|
|
|
+ driverDelegateClass: org.quartz.impl.jdbcjobstore.StdJDBCDelegate
|
|
|
|
+ tablePrefix: QRTZ_
|
|
|
|
+ isClustered: false
|
|
|
|
+ clusterCheckinInterval: 10000
|
|
|
|
+ useProperties: false
|
|
|
|
+ threadPool:
|
|
|
|
+ class: org.quartz.simpl.SimpleThreadPool
|
|
|
|
+ threadCount: 10
|
|
|
|
+ threadPriority: 5
|
|
|
|
+ threadsInheritContextClassLoaderOfInitializingThread: true
|
|
|
|
+ dataSource:
|
|
|
|
+ default:
|
|
|
|
+ URL: jdbc:mysql://192.168.2.24:3306/mos?autoReconnect=true&useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=CONVERT_TO_NULL&useSSL=false&serverTimezone=GMT%2B8
|
|
|
|
+ user: root
|
|
|
|
+ password: rrzTwWAYX8Gxh5JH
|
|
|
|
+ driver: com.mysql.jdbc.Driver
|
|
|
|
+ job-store-type: jdbc
|
|
|
|
+ jdbc:
|
|
|
|
+ initialize-schema: never
|