@SpringBootApplication申明让spring boot自动配置==@Configuration @EnableAutoConfiguration @ComponentScan
@RestController返回json字符串
全局异常
@ControllerAdvice
@ExceptionHandler
@SpringBootApplication申明让spring boot自动配置==@Configuration @EnableAutoConfiguration @ComponentScan
@RestController返回json字符串
全局异常
@ControllerAdvice
@ExceptionHandler