From 05db93c48c69b1fc5db8bb2fce4c37014e92e450 Mon Sep 17 00:00:00 2001
From: doum <doum>
Date: 星期二, 19 八月 2025 10:01:30 +0800
Subject: [PATCH] 代码初始化
---
server/src/main/resources/application-dev.yml | 66 +++++++++++++++++++++++++++++++--
1 files changed, 62 insertions(+), 4 deletions(-)
diff --git a/server/src/main/resources/application-dev.yml b/server/src/main/resources/application-dev.yml
index e60b0b3..6d7ebf6 100644
--- a/server/src/main/resources/application-dev.yml
+++ b/server/src/main/resources/application-dev.yml
@@ -1,9 +1,17 @@
+project:
+ # 鐜锛岀敓浜х幆澧僷roduction锛屽紑鍙戠幆澧僤evelopment
+ env: development
+ # 妯″紡锛宼esting娴嬭瘯妯″紡
+ mode: testing
+
+server:
+ port: 10010
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://112.26.66.25:3306/lianhelihua_sh?useUnicode=true&characterEncoding=utf8&serverTimezone=Asia/Shanghai
+ username: root
+ password: Doumee@168&QWERT
driver-class-name: com.mysql.cj.jdbc.Driver
type: com.alibaba.druid.pool.DruidDataSource
redis:
@@ -15,7 +23,40 @@
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: smtp.aliyun.com
+ port: 80
+ username: lkshereport@mail.unilever-china.com
+ password: f2fLk384RChX
+ default-encoding: UTF-8
+ properties:
+ mail:
+ smtp:
+ auth: true
+ starttls:
+ enable: true
+ required: true
debug_model: true
@@ -39,3 +80,20 @@
enable: true
username: admin
password: 111111
+
+qiwei:
+ serviceurl: https://qyapi.weixin.qq.com
+
+aes:
+ encrypt:
+ open: true # 鏄惁寮�鍚姞瀵� true or false
+ showLog: true # 鏄惁鎵撳嵃鍔犺В瀵唋og true or false
+ publicKey: mN4Yn8Or8r7SH1w3 # AES瀵嗛挜
+ privateKey: # RSA绉侀挜
+ time: 600000
+
+upload:
+ type: ftp
+
+
+
--
Gitblit v1.9.3