推荐算法 用户考核 头像上传
Change-Id: Iaac96768d5238142f5ed445f5cc64ccedd239d0f
diff --git a/src/main/resources/application.properties b/src/main/resources/application.properties
index f1c382a..cdb1466 100644
--- a/src/main/resources/application.properties
+++ b/src/main/resources/application.properties
@@ -1,7 +1,13 @@
spring.application.name=PT-houduan
-spring.datasource.url=jdbc:mysql://localhost:3306/pt?useSSL=false&serverTimezone=Asia/Shanghai
-spring.datasource.username=root
-spring.datasource.password=12345
+#spring.datasource.url=jdbc:mysql://localhost:3306/pt?useSSL=false&serverTimezone=Asia/Shanghai
+##spring.datasource.url=jdbc:mysql://host.docker.internal:3306/pt?useSSL=false&serverTimezone=Asia/Shanghai
+#spring.datasource.username=root
+#spring.datasource.password=12345
+#spring.datasource.driver-class-name=com.mysql.cj.jdbc.Driver
+# application.properties
+spring.datasource.url=jdbc:mysql://202.205.102.121:3306/1group5?useSSL=false&serverTimezone=Asia/Shanghai
+spring.datasource.username=team5
+spring.datasource.password=Team5001#
spring.datasource.driver-class-name=com.mysql.cj.jdbc.Driver
hikari.maximum-pool-size = 20
hikari.minimum-idle = 5
@@ -17,6 +23,7 @@
#logging.level.root=DEBUG
mybatis-plus.mapper-locations=classpath:mapper/xml/*.xml
mybatis-plus.type-aliases-package=com.pt5.pthouduan.entity
+
uploadDirectory= ./uploads/files # ????????
torrent-dir= ./uploads/torrents # ????????
# ??????
@@ -28,20 +35,20 @@
# ???????????????Docker????????
torrent.post-image-dir=postimgs/
torrent.helppost-image-dir=helppostimgs/
+torrent.activity-image-dir=activityimgs/
+torrent.user-image-dir=userimgs/
+spring.mail.host=smtp.163.com
+spring.mail.username=zhutai940@163.com
+spring.mail.password=SMQUgkztweuv7LdZ
+spring.mail.properties.mail.smtp.auth=true
+spring.mail.properties.mail.smtp.starttls.enable=true
+spring.mail.properties.mail.smtp.starttls.required=true
# ??????
spring.mvc.static-path-pattern=/uploads/**
spring.web.resources.static-locations=file:./postimgs/
# application.properties ??
-# ????
-spring.mail.host=smtp.163.com # ?163????
-spring.mail.username=zhutai940@163.com
-spring.mail.password=Cmr2005#
-spring.mail.properties.mail.smtp.auth=true
-spring.mail.properties.mail.smtp.starttls.enable=true
-spring.mail.properties.mail.smtp.starttls.required=true
-
tracker.url=http://localhost:6969/announce