YINMK

Don`t cry because it is over, smile because it happened.

Scroll Down

SpringBoot异步任务

有时我们需要处理一些复杂的业务未使用异步任务的情况controller@RestControllerpublicclassAsyncController{@AutowiredAsyncServiceasyncService;@RequestMapping("/hello")pub

七牛云存储图片

注册七牛云,创建存储空间略。导入依赖<!--七牛云存储--><dependency><groupId>com.qiniu</groupId><artifactId>qiniu-java-sdk</artifactId><v

Shiro

依赖<!--shiro权限管理--><dependency><groupId>org.apache.shiro</groupId><artifactId>shiro-spring</artifactId><version&

MySQL

创建数据库CREATEDATABASEIFNOTEXISTStest_db_charDEFAULTCHARACTERSETutf8DEFAULTCOLLATEutf8_bin;查看数据库SHOWDATABASES;修改数据库ALTERDATABASE[数据库名]{[DEFAULT]CHARACTER

Maven

Maven仓库地址https://mvnrepository.com/打包类型设置jarorwar<groupId>com.kai</groupId><artifactId>my_blog</artifactId><version>0.0.

Pagehelper插件

官方文档https://pagehelper.github.io/docs/最终效果导入依赖<!--分页插件--><dependency><groupId>com.github.pagehelper</groupId><artifactId>

thymeleaf

官方文档https://www.thymeleaf.org/doc/tutorials/3.0/usingthymeleaf.html依赖<dependency><groupId>org.springframework.boot</groupId><arti