Browse Source

配置文件修改

wangpenghui 1 year ago
parent
commit
d051ab3b57

+ 17 - 1
background-user/src/main/resources/application.yml

@@ -7,6 +7,13 @@ spring:
   jackson:
     date-format: yyyy-MM-dd HH:mm:ss
     time-zone: GMT+8
+  mail:
+    host: smtp.163.com
+    username: ddfme123@163.com
+    password: PMORZHOUMJDJNOPV
+    port: 465
+    protocol: smtps
+    default-encoding: UTF-8
   rabbitmq:
     host: ${MQ_HOST:35.188.251.105}
     port: ${MQ_PORT:35672}
@@ -119,4 +126,13 @@ feign:
     connection-timer-repeat: 20000
     enabled: true
     max-connections: 200
-    max-connections-per-route: 50
+    max-connections-per-route: 50
+invoice:
+  url: http://139.196.160.101:3060/api/get-invoice
+compdf:
+  oss:
+    bucketName: ${COMPDF_OSS_FILE_BUCKETNAME:pdfreader-dev}
+    endpoint: ${COMPDF_OSS_FILE_ENDPOINT:https://oss-cn-shanghai.aliyuncs.com}
+    accessKeyId: ${COMPDF_OSS_FILE_ACCESSKEYID:LTAIBSxSrO3XuszA}
+    accessKeySecret: ${COMPDF_OSS_FILE_ACCESSKEYSECRET:ylqpMGyA4qpsaobhZ34gJzNZzcnYmT}
+    file-prefix: ${COMPDF_OSS_FILE_PREFIX:saas}

+ 1 - 0
background-user/src/main/resources/templates/invoice.html

@@ -0,0 +1 @@
+123