摘要: 1.静态资源 怎样通过浏览器访问静态资源? 注意:不需要加static目录.因为只是告诉springboot目录,而不是静态资源路劲. 这时访问路径就需要加上/static 阅读全文
posted @ 2019-11-01 10:51 Curedfisher 阅读(261) 评论(0) 推荐(0) 编辑
摘要: 1.@RestController+@EnableAutoConfiguration 项目启动方式三种种: 1.@EnableAutoConfiguration 注意:只能扫描当前类里面 2.@EnableAutoConfiguration +@ComponentScan("包名"),可以单独抽取一 阅读全文
posted @ 2019-11-01 09:55 Curedfisher 阅读(95) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2019-11-01 09:28 Curedfisher 阅读(560) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2019-11-01 08:58 Curedfisher 阅读(155) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2019-11-01 08:46 Curedfisher 阅读(260) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2019-11-01 08:25 Curedfisher 阅读(111) 评论(0) 推荐(0) 编辑