|
@@ -0,0 +1,69 @@
|
|
|
+server:
|
|
|
+ port: 8088
|
|
|
+ #address: 127.0.0.1
|
|
|
+ #sessionTimeout: 30
|
|
|
+ servlet:
|
|
|
+ context-path: /cooleshow
|
|
|
+ tomcat:
|
|
|
+ uri-encoding: UTF-8
|
|
|
+
|
|
|
+spring:
|
|
|
+ application:
|
|
|
+ name: auth-server
|
|
|
+
|
|
|
+ datasource:
|
|
|
+ #url: jdbc:mysql://47.114.1.200:3306/mec_dev?useUnicode=true&characterEncoding=utf8&useSSL=false&serverTimezone=Asia/Shanghai
|
|
|
+ url: jdbc:mysql://localhost:3306/cooleshow_dev?useUnicode=true&characterEncoding=utf8&useSSL=false&serverTimezone=Asia/Shanghai
|
|
|
+ username: root
|
|
|
+ password: 123456
|
|
|
+ driver-class-name: com.mysql.jdbc.Driver
|
|
|
+ debug: false
|
|
|
+ #Druid#
|
|
|
+ name: test
|
|
|
+ #type: com.alibaba.druid.pool.DruidDataSource
|
|
|
+ filters: stat
|
|
|
+ maxActive: 20
|
|
|
+ initialSize: 1
|
|
|
+ maxWait: 60000
|
|
|
+ minIdle: 1
|
|
|
+ timeBetweenEvictionRunsMillis: 60000
|
|
|
+ minEvictableIdleTimeMillis: 300000
|
|
|
+ validationQuery: select 'x'
|
|
|
+ testWhileIdle: true
|
|
|
+ testOnBorrow: false
|
|
|
+ testOnReturn: false
|
|
|
+ poolPreparedStatements: true
|
|
|
+ maxOpenPreparedStatements: 20
|
|
|
+
|
|
|
+ #单节点redis
|
|
|
+ redis:
|
|
|
+ host: localhost
|
|
|
+ port: 6379
|
|
|
+ database: 0
|
|
|
+ password:
|
|
|
+ #timeout: 10000m
|
|
|
+
|
|
|
+mybatis:
|
|
|
+ typeAliasesPackage: com.yonge.cooleshow.biz.dal.entity
|
|
|
+ mapperLocations: classpath:config/mybatis/*.xml
|
|
|
+ #config-location: classpath:mybatis/mybatis-config.xml
|
|
|
+
|
|
|
+
|
|
|
+# e签宝电子签名
|
|
|
+eseal:
|
|
|
+ tsign:
|
|
|
+ projectid: 4438776254
|
|
|
+ projectSecret: a94cf63d6361084d232f345d71321691
|
|
|
+ apisUrl: http://smlitsm.tsign.cn:8080/tgmonitor/rest/app!getAPIInfo2
|
|
|
+
|
|
|
+# 金山云OSS存储
|
|
|
+storage:
|
|
|
+ sso:
|
|
|
+ accessKeyID: AKLTtTeIbadpRG-pil4S0Q4m-Q
|
|
|
+ accessKeySecret: OB1HmNOfDNW95wHoxMkP6IPFZXormk2ngA800TkvKAw7ozhiJGRqrMnnV8ZrAU3WRQ==
|
|
|
+ endpoint: ks3-cn-beijing.ksyun.com
|
|
|
+ bucketName: daya
|
|
|
+
|
|
|
+
|
|
|
+message:
|
|
|
+ debugMode: true
|