Skip to content

Commit 222b6da

Browse files
author
hengming.lhm
committed
Merge remote-tracking branch 'origin/master'
2 parents 15c0069 + e3fe698 commit 222b6da

File tree

4 files changed

+7
-7
lines changed

4 files changed

+7
-7
lines changed

src/main/resources/application-dev.properties

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
# \u5F00\u53D1\u73AF\u5883\u914D\u7F6E
2-
# \u6570\u636E\u6E90\u914D\u7F6E\uFF0C\u8BF7\u4FEE\u6539\u4E3A\u4F60\u9879\u76EE\u7684\u5B9E\u9645\u914D\u7F6E
1+
# 开发环境配置
2+
# 数据源配置,请修改为你项目的实际配置
33
spring.datasource.url=jdbc:mysql://localhost:3306/test
44
spring.datasource.username=root
55
spring.datasource.password=123456
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
# \u751F\u4EA7\u73AF\u5883\u914D\u7F6E
1+
# 生产环境配置
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
# \u6D4B\u8BD5\u73AF\u5883\u914D\u7F6E
1+
# 测试环境配置
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
spring.profiles.active=dev
2-
# \u6240\u6709\u73AF\u5883\u901A\u7528\u7684\u914D\u7F6E\uFF0C\u653E\u5728\u8FD9\u91CC
2+
# 所有环境通用的配置,放在这里
33

4-
# 404 \u4EA4\u7ED9\u5F02\u5E38\u5904\u7406\u5668\u5904\u7406
4+
# 404 交给异常处理器处理
55
spring.mvc.throw-exception-if-no-handler-found=true
6-
spring.resources.add-mappings=false
6+
spring.resources.add-mappings=false

0 commit comments

Comments
 (0)