Skip to content

pc859107393/MySpringBoot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

说明

项目采用SpringBoot整合,预期为下:

  • springboot
  • springMvc
  • mybatis
  • Druid
  • redis+mysql

本项目github仓库:https://github.com/pc859107393/MySpringBoot.git

本项目国内码云仓库:https://git.oschina.net/859107393/MySpringBoot.git


本系列为连载文章。当然如果你没有spring基础,建议你先看看我的java手把手教程


17-09-23

构建基础手脚架完成。下一期完成代码生成器。

17-09-04

增加了spring-boot-devtools,同时需要设置。设置如下:

同时我们也需要对idea做出配置: IntelliJ IDEA -> Build,Execution,Deployment -> Compiler -> 勾选Build project automatically

接下来是骚操作:

1.mac 电脑按下 command + alt + shift + / 出现:

mac 电脑按下 command + alt + shift + / 出现:

自定义配置

2.找到 “compiler.automake.allow.when.app.running” 这个选项,并且勾选:

勾选自动运行

17-09-02

增加了页面的基本路径.

<#assign base=request.contextPath />

//freemarker 处理null对象
${goods.id!}

17-08-31

在框架中加入了shiro控制,在登录登出中完全使用了shiro控制。

同时,我们可以在任意地方使用Shiro提供的session、Request和response。

在后台页面中,我们使用了多tab切换技术,引入了tab控制器这个页面是具体的写法,用法请参照后端主页。

本次设置了上传文件大小为1G。

17-08-16

acheng 整合基本框架,springboot+mybatis+mvc+mybatis plus+springbootFreemarker,暂时无有加入缓存控制,同时值得注意的是一些细节骚操作.

1.@SuppressWarnings("unchecked")

2.gradle构建命令中的check添加参数:-s -i -x test --debug,完整输出检查日志的同时规避test

3.同时其他的相关的检测工具中都可以使用 -x test屏蔽Test相关的检测

gradle构建细节骚操作

有兴趣交流springboot进行快速开发的同学可以加一下下面的企鹅群。

行走的java全栈

如果你认可我所做的事情,并且认为我做的事对你有一定的帮助,希望你也能打赏我一杯咖啡,谢谢。

支付宝捐赠

About

acheng的springBoot探索之旅

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published