springboot_启动白屏页面_HTTP请求注解_ postman界面介绍

springboot启动白屏页面解决方案

1.将Springboot1Application直接放在主包名com.hp下
2.给Springboot1Application加注解@ComponentScan(basePackages = “cn.hp”)springboot_启动白屏页面_HTTP请求注解_ postman界面介绍

SpringBoot2.xHTTP请求注解讲解和简化注解配置技巧

1、@RestController and @RequestMapping是springMVC的注解,不是 springboot特有的
2、@RestController = @[email protected]
3、@SpringBootApplication = @[email protected][email protected]

postman界面介绍

springboot_启动白屏页面_HTTP请求注解_ postman界面介绍
注:body–》binary为二进制参数