diff --git a/pom.xml b/pom.xml
index 05340f2..fb6c52e 100644
--- a/pom.xml
+++ b/pom.xml
@@ -110,27 +110,18 @@
spring-boot
2.3.5.RELEASE
-
org.apache.httpcomponents
httpclient
4.5.3
-
-
- org.slf4j
- slf4j-api
- 1.7.21
-
-
com.google.zxing
core
3.3.0
-
net.glxn
qrgen
@@ -141,17 +132,11 @@
fastjson
1.2.47
-
- org.slf4j
- slf4j-simple
- 1.7.21
-
org.springframework.data
spring-data-redis
2.3.4.RELEASE
-
org.springframework.boot
spring-boot-starter-tomcat
diff --git a/src/main/resources/application.yml b/src/main/resources/application.yml
index e40822a..73315ff 100644
--- a/src/main/resources/application.yml
+++ b/src/main/resources/application.yml
@@ -1,4 +1,4 @@
-site-url: http://127.0.0.1
+site-url: 47.115.118.34
server:
port: 80
tomcat:
@@ -18,7 +18,7 @@ spring:
username: root
password: 123456
driver-class-name: com.mysql.cj.jdbc.Driver
- url: jdbc:mysql://localhost:3306/jieyue?useUnicode=true&characterEncoding=UTF-8&serverTimezone=UTC
+ url: jdbc:mysql://${site-url}:3306/jieyue?useUnicode=true&characterEncoding=UTF-8&serverTimezone=UTC
mvc:
static-path-pattern: /*/**
mail:
@@ -44,7 +44,7 @@ spring:
redis:
database: 0
port: 6379
- host: 127.0.0.1
+ host: ${site-url}
mybatis:
mapper-locations: classpath:/static/mapping/*Mapping.xml
type-aliases-package: com.example.jieyue.common.entity