|
@@ -1,49 +1,14 @@
|
|
|
|
|
+server:
|
|
|
|
|
+ port: 10800
|
|
|
|
|
+
|
|
|
spring:
|
|
spring:
|
|
|
application:
|
|
application:
|
|
|
- name: iot-platform
|
|
|
|
|
-
|
|
|
|
|
- datasource:
|
|
|
|
|
- type: com.alibaba.druid.pool.DruidDataSource
|
|
|
|
|
- driver-class-name: com.mysql.cj.jdbc.Driver
|
|
|
|
|
- url: jdbc:mysql://10.10.10.221:3306/iot_manage
|
|
|
|
|
- username: root
|
|
|
|
|
- password: TFGhA6AkJesRP4ZT
|
|
|
|
|
-
|
|
|
|
|
- druid: # Druid 【监控】相关配置
|
|
|
|
|
- web-stat-filter:
|
|
|
|
|
- enabled: true
|
|
|
|
|
- stat-view-servlet:
|
|
|
|
|
- enabled: true
|
|
|
|
|
- url-pattern: /druid/*
|
|
|
|
|
- allow: # 不配置表示全部允许
|
|
|
|
|
- login-username: # 未配置表示不启用登录
|
|
|
|
|
- login-password:
|
|
|
|
|
- filter:
|
|
|
|
|
- stat:
|
|
|
|
|
- enabled: true
|
|
|
|
|
- log-slow-sql: true
|
|
|
|
|
- slow-sql-millis: 100
|
|
|
|
|
- merge-sql: true
|
|
|
|
|
- wall:
|
|
|
|
|
- config:
|
|
|
|
|
- multi-statement-allow: true
|
|
|
|
|
- servlet:
|
|
|
|
|
- multipart:
|
|
|
|
|
- max-file-size: 10MB
|
|
|
|
|
- max-request-size: 50MB
|
|
|
|
|
-mybatis-plus:
|
|
|
|
|
- configuration:
|
|
|
|
|
- log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
|
|
|
|
|
-
|
|
|
|
|
-file:
|
|
|
|
|
- list:
|
|
|
|
|
- oss: pdf,gif,jpg,jpeg,png,doc,docx,xls,xlsx,heic
|
|
|
|
|
- aliyun: pdf,gif,jpg,jpeg,png,doc,docx,xls,xlsx
|
|
|
|
|
- qiniu: pdf,gif,jpg,jpeg,png,doc,docx,xls,xlsx
|
|
|
|
|
-
|
|
|
|
|
-aliyun:
|
|
|
|
|
- oss:
|
|
|
|
|
- endpoint: oss-cn-chengdu.aliyuncs.com
|
|
|
|
|
- accessKeyId: LTAI5tHq44Cn3p8qqPN7DKc1
|
|
|
|
|
- secret: nQaRrRwlcIWD5jNBu9CZ14YZhaRbTG
|
|
|
|
|
- bucket: saas-four
|
|
|
|
|
|
|
+ name: sckw-ng-weighbridge
|
|
|
|
|
+ profiles:
|
|
|
|
|
+ active: @profiles.active@
|
|
|
|
|
+ main:
|
|
|
|
|
+ allow-bean-definition-overriding: true
|
|
|
|
|
+
|
|
|
|
|
+logging:
|
|
|
|
|
+ level:
|
|
|
|
|
+ root: info
|