From cd1eb4f48fbbba55154e9aec80ec93f48e9c075b Mon Sep 17 00:00:00 2001 From: jiangping <jp@doumee.com> Date: 星期四, 03 七月 2025 11:03:37 +0800 Subject: [PATCH] 代码初始化 --- server/src/main/resources/application-pro.yml | 56 +++++++++++++++++++++++++++++++++++++------------------- 1 files changed, 37 insertions(+), 19 deletions(-) diff --git a/server/src/main/resources/application-pro.yml b/server/src/main/resources/application-pro.yml index c8b123b..03db8dd 100644 --- a/server/src/main/resources/application-pro.yml +++ b/server/src/main/resources/application-pro.yml @@ -3,17 +3,15 @@ env: production # 妯″紡锛宼esting娴嬭瘯妯″紡 mode: production - -# WEB鏈嶅姟鍣ㄩ厤缃� server: - port: 10010 + port: 10040 spring: # 鏁版嵁婧愰厤缃� datasource: - url: jdbc:mysql://solution-cnn3-d-shereport-db-mysql01.mysql.database.chinacloudapi.cn:3306/lianhelihua?useUnicode=true&characterEncoding=utf8&serverTimezone=Asia/Shanghai + url: jdbc:mysql://solution-cnn3-p-shereport-db-mysql01.mysql.database.chinacloudapi.cn:3306/lianhelihua?useUnicode=true&characterEncoding=utf8&serverTimezone=Asia/Shanghai username: service_account - password: yP5@jJzqME63 + password: vW3&QbcdMSyF driver-class-name: com.mysql.cj.jdbc.Driver type: com.alibaba.druid.pool.DruidDataSource redis: @@ -25,44 +23,64 @@ jackson: time-zone: GMT+8 date-format: yyyy-MM-dd HH:mm:ss + # mail: + # username: jiangping0849@outlook.com + # password: mwzaislgioyhxnig + # host: smtp-mail.outlook.com + # port: 587 + # default-encoding: UTF-8 + # properties: + # mail: + # debug: true + # smtp: + # ssl: + # socketFactory: + # class: com.sun.mail.util.MailSSLSocketFactory + # fallback: false + # auth: true + # starttls: + # enable: true + # required: true mail: - host: smtp.aliyun.com - port: 465 - username: your_email@aliyun.com - password: your_password + host: smtpdm.aliyun.com + username: lkshereport@mail.unilever-china.com + password: f2fLk384RChX + default-encoding: UTF-8 + port: 80 properties: mail: smtp: auth: true - starttls: - enable: true - required: true - ssl: - enable: true + starttls: + enable: true + required: true debug_model: true # Swagger閰嶇疆 swagger: - host: 127.0.0.1 + host: title: ${project.name}鎺ュ彛鏂囨。 description: ${project.name}鎺ュ彛鏂囨。 + # 鍚敤Swagger锛岀敓浜х幆澧冨缓璁叧闂� enabled: true - context-path: + # 鍚敤swagger鍔犲瘑 + enable-encrypt: true # 绂佺敤swagger鏃剁殑閲嶅畾鍚戝湴鍧� redirect-uri: / -des_pwd: 123456SDFKDJF +des_pwd: 123456SDFKDJF knife4j: enable: true basic: enable: true username: admin - password: + password: Doumee@168 + upload: type: blob qiwei: - serviceurl: https://wecom-qyapi.unilever-china.com/ \ No newline at end of file + serviceurl: https://wecom-qyapi.unilever-china.com \ No newline at end of file -- Gitblit v1.9.3