diff --git a/src/main/resources/application-dev.yml b/src/main/resources/application-dev.yml index cbc57250..c235c81e 100644 --- a/src/main/resources/application-dev.yml +++ b/src/main/resources/application-dev.yml @@ -13,12 +13,12 @@ spring: timeout: 10000 # [不可用] jdbc数据库配置, 暂不支持 datasource: - # name: eiot - # url: jdbc:mysql://127.0.0.1:3306/eiot?useUnicode=true&characterEncoding=UTF8&rewriteBatchedStatements=true - # username: - # password: - # type: com.alibaba.druid.pool.DruidDataSource - # driver-class-name: com.mysql.jdbc.Driver + #name: eiot + #url: jdbc:mysql://127.0.0.1:3306/eiot?useUnicode=true&characterEncoding=UTF8&rewriteBatchedStatements=true + #username: + #password: + #type: com.alibaba.druid.pool.DruidDataSource + #driver-class-name: com.mysql.jdbc.Driver name: eiot url: jdbc:sqlite::resource:wvp.sqlite username: diff --git a/src/main/resources/application.yml b/src/main/resources/application.yml index ef46c2ad..caf4dfcd 100644 --- a/src/main/resources/application.yml +++ b/src/main/resources/application.yml @@ -1,3 +1,3 @@ spring: profiles: - active: local \ No newline at end of file + active: dev \ No newline at end of file