From 31fc234e2c026e2eaf00a51bea5a9d9779f59f60 Mon Sep 17 00:00:00 2001 From: Bosen Date: Fri, 7 May 2021 17:53:20 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E9=85=8D=E7=BD=AE=E6=96=87?= =?UTF-8?q?=E4=BB=B6=E4=B8=8E=E4=BE=9D=E8=B5=96=E9=85=8D=E7=BD=AE=EF=BC=8C?= =?UTF-8?q?=E8=A7=A3=E5=86=B3=E5=9C=A8linux=E4=B8=AD=E9=80=9A=E8=BF=87tomc?= =?UTF-8?q?at=E9=83=A8=E7=BD=B2=E5=87=BA=E7=8E=B0=E7=9A=84=E4=BE=9D?= =?UTF-8?q?=E8=B5=96=E5=86=B2=E7=AA=81=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pom.xml | 15 --------------- src/main/resources/application.yml | 6 +++--- 2 files changed, 3 insertions(+), 18 deletions(-) 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