feat:数据库连接、序列化日期
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
spring:
|
||||
datasource:
|
||||
driver-class-name: com.mysql.cj.jdbc.Driver # 指定数据库驱动类
|
||||
# 数据库连接信息
|
||||
url: jdbc:mysql://124.220.58.5:3306/enlish
|
||||
username: root # 数据库用户名
|
||||
password: YLHP@admin123 # 数据库密码
|
||||
10
enlish-service/src/main/resources/config/application.yml
Normal file
10
enlish-service/src/main/resources/config/application.yml
Normal file
@@ -0,0 +1,10 @@
|
||||
server:
|
||||
port: 8080 # 项目启动的端口
|
||||
|
||||
spring:
|
||||
profiles:
|
||||
active: dev # 默认激活 dev 本地开发环境
|
||||
|
||||
mybatis:
|
||||
# MyBatis xml 配置文件路径
|
||||
mapper-locations: classpath:/mapper/**/*.xml
|
||||
Reference in New Issue
Block a user