diff --git a/.idea/encodings.xml b/.idea/encodings.xml index aa00ffa..63574ec 100644 --- a/.idea/encodings.xml +++ b/.idea/encodings.xml @@ -1,7 +1,8 @@ - + + \ No newline at end of file diff --git a/README.md b/README.md index daa3054..016fedc 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,9 @@ # 电商基础秒杀项目 -基于 SpringBoot,数据库使用MySQL \ No newline at end of file +项目简介:基于SpringBoot,数据库使用MySQL + +开发工具:IntelliJ IDEA 2021.3.2 (Ultimate Edition) + +数据库版本:MySQL 5.7 + +项目数据库文件:[点击打开](./Others/sql/flashsale.sql) \ No newline at end of file diff --git a/src/main/resources/application.properties b/src/main/resources/application.properties index 89aba8a..671e6f2 100644 --- a/src/main/resources/application.properties +++ b/src/main/resources/application.properties @@ -1,6 +1,12 @@ -# ???? server.port=8090 #mybatis.mapper-locations=classpath:mapping/*.xml -mybatis.mapperLocations=classpath:mapping/*.xml \ No newline at end of file +mybatis.mapperLocations=classpath:mapping/*.xml + +spring.datasource.name=flashsale +spring.datasource.url=jdbc:mysql://127.0.0.1:3306/flashsale +spring.datasource.username=root +spring.datasource.password=111111 + +# 使用druid数据源 \ No newline at end of file