From 605a28c765414ff6d3950b09f8d7a51aeb757c18 Mon Sep 17 00:00:00 2001 From: Yutousama <583819556@qq.com> Date: Sun, 3 Oct 2021 12:55:35 +0800 Subject: [PATCH] init --- pom.xml | 16 ++++++++++++++++ src/main/resources/application.properties | 10 +++++++++- 2 files changed, 25 insertions(+), 1 deletion(-) 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