diff --git a/pom.xml b/pom.xml index e2647f6..d64f1e8 100644 --- a/pom.xml +++ b/pom.xml @@ -32,6 +32,22 @@ spring-boot-starter-test test + + + mysql + mysql-connector-java + runtime + + + org.mybatis.spring.boot + mybatis-spring-boot-starter + 2.1.1 + + + com.alibaba + fastjson + 1.2.67 + diff --git a/src/main/resources/application.properties b/src/main/resources/application.properties index 8b13789..f0b054b 100644 --- a/src/main/resources/application.properties +++ b/src/main/resources/application.properties @@ -1 +1,9 @@ - +server.port=8000 +spring.datasource.url=jdbc:mysql://yutou233.cn:3306/mobile_cloud?useUnicode=true&characterEncoding=utf8&useSSL=false&serverTimezone=UTC&allowPublicKeyRetrieval=true +spring.datasource.username=jianrmod +spring.datasource.password=dashuyuxiaodidi233 +mybatis.mapper-locations=classpath:mapper/*.xml +#mybatis.config-location=classpath:mybatis-config.xml +mybatis.type-aliases-package=com.yutou.tools.mybatis +#???mybatis??? +#logging.level.com.yutou.tools=debug \ No newline at end of file