摘要:
<?xml version="1.0" encoding="UTF-8"?> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:sc 阅读全文
摘要:
#整合mybatis#别名mybatis.type-aliases-package=com.liu.pojo#指定mapper的映射文件mybatis.mapper-locations=classpath:mybatis/mapper/*.xml 阅读全文
摘要:
1.application.yaml spring: datasource: username: root password: 123456 url: jdbc:mysql://localhost:3306/mybatis?serverTimezone=UTC&useUnicode=true&cha 阅读全文
摘要:
1.shiro实现登陆拦截 package com.liu.config; import at.pollux.thymeleaf.shiro.dialect.ShiroDialect; import org.apache.shiro.spring.web.ShiroFilterFactoryBean 阅读全文
摘要:
1.引入依赖 pom.xml2 <!--thymeleaf中使用shiro--> <dependency> <groupId>com.github.theborakompanioni</groupId> <artifactId>thymeleaf-extras-shiro</artifactId> 阅读全文