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 | 52 +++++++++++++++++++++++++++++++++++++++-------------
1 files changed, 39 insertions(+), 13 deletions(-)
diff --git a/server/src/main/resources/application-pro.yml b/server/src/main/resources/application-pro.yml
index 7597a07..03db8dd 100644
--- a/server/src/main/resources/application-pro.yml
+++ b/server/src/main/resources/application-pro.yml
@@ -1,13 +1,17 @@
-# WEB鏈嶅姟鍣ㄩ厤缃�
+project:
+ # 鐜锛岀敓浜х幆澧僷roduction锛屽紑鍙戠幆澧僤evelopment
+ env: production
+ # 妯″紡锛宼esting娴嬭瘯妯″紡
+ mode: production
server:
- port: 10010
+ port: 10040
spring:
# 鏁版嵁婧愰厤缃�
datasource:
- url: jdbc:mysql://sh-cdb-aiskr3vy.sql.tencentcdb.com:62443/lianhelihua_sh?useUnicode=true&characterEncoding=utf8&serverTimezone=Asia/Shanghai
- username: doumee
- password: rtjgfEr@&0c0m
+ 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: vW3&QbcdMSyF
driver-class-name: com.mysql.cj.jdbc.Driver
type: com.alibaba.druid.pool.DruidDataSource
redis:
@@ -19,11 +23,30 @@
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.exmail.qq.com
- username: jp@doumee.com
- password: 2Jz9HFW2U7vRnCRu
+ host: smtpdm.aliyun.com
+ username: lkshereport@mail.unilever-china.com
+ password: f2fLk384RChX
default-encoding: UTF-8
+ port: 80
properties:
mail:
smtp:
@@ -36,25 +59,28 @@
# 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