随笔分类 - Springboot
摘要:Springboot--Mail package com.example.springbootmail.mail; import org.springframework.beans.factory.annotation.Value; import org.springframework.stereo
阅读全文
摘要:Springboot--Async package com.example.springbootasync.Controller; /* 任务一开始执行 任务二开始执行 任务三开始执行 耗时135 耗时573 耗时7282 */ import com.example.springbootasync.
阅读全文
摘要:Springboot-- scheduled package com.bjsxt.scheduled; import java.util.Date; import org.springframework.scheduling.annotation.Scheduled; import org.spri
阅读全文
摘要:Springboot--Jpa dao package com.bjsxt.dao; import org.springframework.data.jpa.repository.JpaRepository; import com.bjsxt.pojo.Roles; /** * RolesRepos
阅读全文
摘要:Springboot --redis package com.bjsxt.config; import org.springframework.boot.context.properties.ConfigurationProperties; import org.springframework.co
阅读全文
摘要:Springboot--Ehcache-jpa package com.bjsxt.dao; import org.springframework.data.jpa.repository.JpaRepository; import com.bjsxt.pojo.Users; /** * 参数一 T
阅读全文
摘要:Springboot--Junit package com.bjsxt.dao; import org.springframework.stereotype.Repository; @Repository public class UserDaoImpl { public void saveUser
阅读全文
摘要:Springboot--Exception 自定义异常类 package com.bjsxt.controller; import org.springframework.stereotype.Controller; import org.springframework.web.bind.annot
阅读全文
摘要:Springboot-Mybatis package com.bjsxt.controller; import java.util.List; import org.springframework.beans.factory.annotation.Autowired; import org.spri
阅读全文
摘要:Springboot-Freemarker package com.bjsxt.controller; import java.util.ArrayList; import java.util.List; import org.springframework.stereotype.Controlle
阅读全文
摘要:springboot-FIleupload package com.bjsxt.controller; import java.io.File; import java.util.HashMap; import java.util.Map; import javax.servlet.http.Htt
阅读全文
摘要:Springboot-Static-Resource package com.bjsxt.app; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.Spr
阅读全文
摘要:springboot-Listener package com.bjsxt.listener; import javax.servlet.ServletContextEvent; import javax.servlet.ServletContextListener; import javax.se
阅读全文
摘要:springboot --servlet --filter package com.bjsxt.filter; import java.io.IOException; import javax.servlet.Filter; import javax.servlet.FilterChain; imp
阅读全文
摘要:multipartmultipart.enabled 开启上传支持(默认:true) multipart.file-size-threshold: 大于该值的文件会被写到磁盘上 multipart.location 上传文件存放位置 multipart.max-file-size最大文件大小 mul
阅读全文