From 3343ee1644781c342cc287df8a71d28551be551b Mon Sep 17 00:00:00 2001 From: RJ-star <63181527+RJ-star@users.noreply.github.com> Date: Fri, 31 May 2024 16:32:06 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E8=B7=AF=E5=BE=84=E4=BF=AE?= =?UTF-8?q?=E6=94=B9=E6=8F=90=E7=A4=BATODO?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../com/buaa/springboot/service/impl/FileInfoServiceImpl.java | 2 ++ src/main/resources/application.yaml | 2 ++ 2 files changed, 4 insertions(+) diff --git a/src/main/java/com/buaa/springboot/service/impl/FileInfoServiceImpl.java b/src/main/java/com/buaa/springboot/service/impl/FileInfoServiceImpl.java index 8512bda..0d82c2c 100644 --- a/src/main/java/com/buaa/springboot/service/impl/FileInfoServiceImpl.java +++ b/src/main/java/com/buaa/springboot/service/impl/FileInfoServiceImpl.java @@ -28,6 +28,8 @@ import static java.nio.charset.StandardCharsets.UTF_8; public class FileInfoServiceImpl extends ServiceImpl implements FileInfoService { @Autowired private FileInfoMapper fileInfoMapper; + + // TODO 路径修改 @Value("F:\\test") private String rootPath; diff --git a/src/main/resources/application.yaml b/src/main/resources/application.yaml index 1386fe0..df1d7e1 100644 --- a/src/main/resources/application.yaml +++ b/src/main/resources/application.yaml @@ -16,6 +16,7 @@ spring: # url: jdbc:mysql://localhost:3306/evaluate_platform?serverTimezone=UTC&useUnicode=true&characterEncoding=utf-8 # username: root # password: ngdwqqngjshmp7 +# TODO 数据库路径修改 url: jdbc:mysql://10.134.49.78:3306/evaluate?serverTimezone=UTC&useUnicode=true&characterEncoding=utf-8 username: remote password: 20373189 @@ -29,6 +30,7 @@ mybatis-plus.mapper-locations: classpath:mapper/*Mapper.java file: # root-path: /data/ +# TODO 数据库路径修改 root-path: C:/Users/Admin/Desktop debug: true -- Gitee