SpringBoot——02WEB

SpringBoot之WEB(跳转到一个页面或者获取一个Json数据) 模块结构: 1.返回json两种方式 @[email protected] @Controller @RequestMapping("/json") public class JsonController { @RequestMapping("/str") @ResponseBody publ
相关文章
相关标签/搜索