摘要: 第一步 :引入jar包 <!--热部署--> <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-devtools</artifactId> <scope>runtime</scope> < 阅读全文
posted @ 2020-05-13 14:25 帅的土掉渣 阅读(160) 评论(0) 推荐(0) 编辑
摘要: <?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 阅读全文
posted @ 2020-05-05 23:39 帅的土掉渣 阅读(515) 评论(0) 推荐(0) 编辑
摘要: #整合mybatis#别名mybatis.type-aliases-package=com.liu.pojo#指定mapper的映射文件mybatis.mapper-locations=classpath:mybatis/mapper/*.xml 阅读全文
posted @ 2020-05-05 23:22 帅的土掉渣 阅读(481) 评论(0) 推荐(0) 编辑
摘要: 1.application.yaml spring: datasource: username: root password: 123456 url: jdbc:mysql://localhost:3306/mybatis?serverTimezone=UTC&useUnicode=true&cha 阅读全文
posted @ 2020-05-05 23:19 帅的土掉渣 阅读(192) 评论(0) 推荐(0) 编辑
摘要: 1.shiro实现登陆拦截 package com.liu.config; import at.pollux.thymeleaf.shiro.dialect.ShiroDialect; import org.apache.shiro.spring.web.ShiroFilterFactoryBean 阅读全文
posted @ 2020-05-05 23:15 帅的土掉渣 阅读(157) 评论(0) 推荐(0) 编辑
摘要: 1.引入依赖 pom.xml2 <!--thymeleaf中使用shiro--> <dependency> <groupId>com.github.theborakompanioni</groupId> <artifactId>thymeleaf-extras-shiro</artifactId> 阅读全文
posted @ 2020-05-05 22:55 帅的土掉渣 阅读(1605) 评论(0) 推荐(0) 编辑
摘要: 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 阅读全文
posted @ 2020-05-04 14:14 帅的土掉渣 阅读(2199) 评论(0) 推荐(0) 编辑
摘要: https://blog.csdn.net/weixin_40927436/article/details/105857922?fps=1&locationNum=2?utm_medium=distribute.pc_relevant.none-task-blog-baidujs-7 阅读全文
posted @ 2020-05-03 21:42 帅的土掉渣 阅读(307) 评论(0) 推荐(0) 编辑
摘要: https://blog.csdn.net/wohaqiyi/article/details/83373941 阅读全文
posted @ 2020-05-02 18:42 帅的土掉渣 阅读(364) 评论(0) 推荐(0) 编辑
摘要: https://blog.csdn.net/benben513624/article/details/81076182 阅读全文
posted @ 2020-05-02 15:31 帅的土掉渣 阅读(152) 评论(0) 推荐(0) 编辑