提交 ce5304f4 编写于 作者: N Nicky.Ma

集成mybatis框架登录验证

上级 9a19d85c
......@@ -16,9 +16,9 @@ public class BaseConfig {
public static final String DATA_SOURCE_PROPERTIES = "spring.datasource.shop";
/**
* mapper 所在包
* repository 所在包
*/
public static final String REPOSITORY_PACKAGES = "org.muses.jeeplatform.core.dao.mapper.admin";
public static final String REPOSITORY_PACKAGES = "org.muses.jeeplatform.core.dao.repository.admin";
/**
* mapper 所在包
......
......@@ -6,7 +6,7 @@
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
<version>2.2.1.RELEASE</version>
<relativePath/> <!-- lookup parent from mapper -->
<relativePath/> <!-- lookup parent from repository -->
</parent>
<groupId>org.muses.jeeplatform.cms</groupId>
<artifactId>jeeplatform-cms</artifactId>
......
......@@ -3,9 +3,9 @@ server:
8888
spring:
datasource:
url: jdbc:mysql://127.0.0.1:3306/jeeplatform?autoReconnect=true&useUnicode=true&characterEncoding=utf8&characterSetResults=utf8&useSSL=false
url: jdbc:mysql://192.168.0.152:33306/jeeplatform?autoReconnect=true&useUnicode=true&characterEncoding=utf8&characterSetResults=utf8&useSSL=false
username: root
password: root
password: minstone
driver-class-name: com.mysql.jdbc.Driver
#添加Thymeleaf配置,除了cache在项目没上线前建议关了,其它配置都可以不用配的,本博客只是列举一下有这些配置
thymeleaf:
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册