|
|
@@ -0,0 +1,99 @@
|
|
|
1
|
+server:
|
|
|
2
|
+ port: 12031
|
|
|
3
|
+spring:
|
|
|
4
|
+ jpa:
|
|
|
5
|
+ open-in-view: true
|
|
|
6
|
+ database: mysql
|
|
|
7
|
+ show-sql: true
|
|
|
8
|
+ properties:
|
|
|
9
|
+ hibernate:
|
|
|
10
|
+ dialect: org.hibernate.dialect.MySQLDialect
|
|
|
11
|
+ application:
|
|
|
12
|
+ name: irpt-app
|
|
|
13
|
+ devtools:
|
|
|
14
|
+ restart:
|
|
|
15
|
+ enabled: false
|
|
|
16
|
+ datasource:
|
|
|
17
|
+ type: com.alibaba.druid.pool.DruidDataSource
|
|
|
18
|
+ url: jdbc:mysql://101.36.160.140:10311/irpt1?useUnicode=true&characterEncoding=UTF-8&useSSL=true&serverTimezone=GMT%2b8
|
|
|
19
|
+ username: root
|
|
|
20
|
+ password: admin@1234
|
|
|
21
|
+ driver-class-name: com.mysql.cj.jdbc.Driver
|
|
|
22
|
+ druid:
|
|
|
23
|
+#db-type: mysql
|
|
|
24
|
+ initial-size: 5
|
|
|
25
|
+ max-active: 30
|
|
|
26
|
+ min-idle: 5
|
|
|
27
|
+ max-wait: 60000
|
|
|
28
|
+ pool-prepared-statements: true
|
|
|
29
|
+ max-pool-prepared-statement-per-connection-size: 30
|
|
|
30
|
+ validation-query: SELECT 1 FROM DUAL
|
|
|
31
|
+ test-on-borrow: false
|
|
|
32
|
+ test-on-return: false
|
|
|
33
|
+ test-while-idle: true
|
|
|
34
|
+ time-between-connect-error-millis: 60000
|
|
|
35
|
+ min-evictable-idle-time-millis: 300000
|
|
|
36
|
+ max-evictable-idle-time-millis: 3000000
|
|
|
37
|
+ filters: stat,wall
|
|
|
38
|
+ connection-properties: druid.stat.mergeSql=true;druid.stat.slowSqlMillis=5000
|
|
|
39
|
+ use-global-data-source-stat: true
|
|
|
40
|
+ web-stat-filter:
|
|
|
41
|
+ url-pattern: /*
|
|
|
42
|
+ exclusions: /druid/*,*.js,*.gif,*.jpg,*.bmp,*.png,*.css,*.ico
|
|
|
43
|
+ enabled: true
|
|
|
44
|
+ session-stat-enable: true
|
|
|
45
|
+ session-stat-max-count: 10
|
|
|
46
|
+ stat-view-servlet:
|
|
|
47
|
+ url-pattern: /druid/*
|
|
|
48
|
+ reset-enable: true
|
|
|
49
|
+ login-username: druid
|
|
|
50
|
+ login-password: druid
|
|
|
51
|
+ #如果出现错误立刻停止服务。
|
|
|
52
|
+ #fail-fast: true
|
|
|
53
|
+mybatis:
|
|
|
54
|
+ configuration:
|
|
|
55
|
+ map-underscore-to-camel-case: true
|
|
|
56
|
+ type-aliases-package: com.unis.ynls.irpt.server.entity
|
|
|
57
|
+ mapper-locations:
|
|
|
58
|
+ - classpath:mybatis/mapper/*.xml
|
|
|
59
|
+#服务注册配置
|
|
|
60
|
+eureka:
|
|
|
61
|
+ client:
|
|
|
62
|
+ service-url:
|
|
|
63
|
+# defaultZone: http://eureka-server:11000/eureka/
|
|
|
64
|
+ defaultZone: http://172.16.0.4:11000/eureka/
|
|
|
65
|
+ instance:
|
|
|
66
|
+ prefer-ip-address: true
|
|
|
67
|
+ status-page-url-path: /swagger-ui.html
|
|
|
68
|
+
|
|
|
69
|
+logging:
|
|
|
70
|
+ level:
|
|
|
71
|
+ com.unis.app: debug
|
|
|
72
|
+ root: warn
|
|
|
73
|
+ org.springframework.web: debug
|
|
|
74
|
+ org.hibernate: error
|
|
|
75
|
+ com.unis.app.controller: info
|
|
|
76
|
+ path: ./log/
|
|
|
77
|
+
|
|
|
78
|
+
|
|
|
79
|
+food:
|
|
|
80
|
+ variety:
|
|
|
81
|
+ groupId: PM001
|
|
|
82
|
+ second:
|
|
|
83
|
+ groupId: 11
|
|
|
84
|
+ price:
|
|
|
85
|
+ groupId: JG001
|
|
|
86
|
+ store-type:
|
|
|
87
|
+ groupId: CL001
|
|
|
88
|
+delay:
|
|
|
89
|
+ status:
|
|
|
90
|
+ groupId: ZT002
|
|
|
91
|
+rule:
|
|
|
92
|
+ status:
|
|
|
93
|
+ groupId: ZT001
|
|
|
94
|
+transfer:
|
|
|
95
|
+ status:
|
|
|
96
|
+ groupId: ZT003
|
|
|
97
|
+
|
|
|
98
|
+
|
|
|
99
|
+
|