Commit 1c9a8cd0 by gxz

解决了使用非Mongo加载相应依赖的问题

同时优化了内部类的创建命名
parent b983c4c8
...@@ -34,14 +34,14 @@ spring: ...@@ -34,14 +34,14 @@ spring:
resources: resources:
static-locations: classpath:/static/,classpath:/views/ static-locations: classpath:/static/,classpath:/views/
mongodb: #mongodb:
host: localhost # host: localhost
port: 27017 # port: 27017
auth: false #是否使用密码验证 # auth: false #是否使用密码验证
username: tincery # username: tincery
password: renren # password: renren
source: 123456 # source: 123456
database: test # database: test
mybatis-plus: mybatis-plus:
mapperLocations: classpath:mapper/**/*.xml mapperLocations: classpath:mapper/**/*.xml
...@@ -55,5 +55,5 @@ pagehelper: ...@@ -55,5 +55,5 @@ pagehelper:
#指定数据库,可选值有【mysql、oracle、sqlserver、postgresql、mongodb】 #指定数据库,可选值有【mysql、oracle、sqlserver、postgresql、mongodb】
renren: renren:
database: mongodb database: mysql
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment