XuShengTao 6 лет назад
Родитель
Сommit
2d853ab458
3 измененных файлов с 5 добавлено и 69 удалено
  1. 1 0
      .gitignore
  2. 0 69
      config/application-dev.yml
  3. 4 0
      src/main/resources/application-dev.yml

+ 1 - 0
.gitignore

@@ -34,3 +34,4 @@ build/
 node_modules/
 
 .DS_Store
+config/

+ 0 - 69
config/application-dev.yml

@@ -1,69 +0,0 @@
-spring:
-  datasource:
-    url: jdbc:mysql://120.78.159.171:19999/helper?setUnicode=true&characterEncoding=utf8&useSSL=false&serverTimezone=GMT%2B8
-    driver-class-name: com.mysql.cj.jdbc.Driver
-    username: root
-    password: password
-  jpa:
-    open-in-view: true
-    hibernate:
-      ddl-auto: update
-    database: mysql
-    database-platform: org.hibernate.dialect.MySQL8Dialect
-    show-sql: true
-  http:
-    encoding:
-      force: true
-  redis:
-    host: 120.78.159.171
-    port: 6379
-    jedis:
-      pool:
-        max-active: 32
-        max-wait: 300ms
-        max-idle: 16
-        min-idle: 8
-  data:
-    redis:
-      repositories:
-        enabled: false
-  mail:
-    host: smtp.163.com
-    username: seecoder@163.com
-    password: seec67NJU
-    properties:
-      mail:
-        smtp:
-          auth: true
-          socketFactory:
-            class: javax.net.ssl.SSLSocketFactory
-            port: 465
-          starttls:
-            enable: true
-            required: true
-  servlet:
-    multipart:
-      max-file-size: 50MB
-      max-request-size: 100MB
-aliyun:
-  oss:
-    endpoint: oss-cn-hangzhou.aliyuncs.com
-    accessKeyId: LTAI4Fi1qmL4iuhH8t7G7r2H
-    accessKeySecret: 7tJWyQqa0cMkQGaPMMvtH6c0VLiOO2
-    bucketName: seec-helper-pdf
-  sms:
-    accessKeyId: LTAI4FiAXXyNfYJLweBXpKPx
-    accessSecret: IBoC7KGkZHOvxZQIfQgp98ZY48AVjW
-    signName: seeccoder
-    templateCode: SMS_181555598
-bok:
-  url: http://bok.seecoder.cn
-guavaCache:
-  maximumSize: 1000
-  expireAfterAccessInSeconds: 1800
-  expireAfterWriteInSeconds: 1800
-# 自定义数据
-helper:
-  mail:
-    from: ${spring.mail.username}
-    subject: seeccoder

+ 4 - 0
src/main/resources/application-dev.yml

@@ -56,6 +56,10 @@ aliyun:
     templateCode: SMS_181555598
 bok:
   url: http://bok.seecoder.cn
+guavaCache:
+  maximumSize: 1000
+  expireAfterAccessInSeconds: 1800
+  expireAfterWriteInSeconds: 1800
 # 自定义数据
 helper:
   mail: