摘要:
第一步 :引入jar包 <!--热部署--> <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-devtools</artifactId> <scope>runtime</scope> < 阅读全文
摘要:
<?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> 阅读全文
摘要:
pom.xml <?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 阅读全文
摘要:
https://blog.csdn.net/weixin_40927436/article/details/105857922?fps=1&locationNum=2?utm_medium=distribute.pc_relevant.none-task-blog-baidujs-7 阅读全文