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