摘要:
1.静态资源 怎样通过浏览器访问静态资源? 注意:不需要加static目录.因为只是告诉springboot目录,而不是静态资源路劲. 这时访问路径就需要加上/static 阅读全文
摘要:
1.@RestController+@EnableAutoConfiguration 项目启动方式三种种: 1.@EnableAutoConfiguration 注意:只能扫描当前类里面 2.@EnableAutoConfiguration +@ComponentScan("包名"),可以单独抽取一 阅读全文
摘要:
阅读全文
摘要:
阅读全文
摘要:
阅读全文
摘要:
阅读全文