springboot2
摘要:
1、controller的使用:请求及映射路径部分注解 @Controller:处理http请求 @RequestMapping配置url配置 @ResponseBody:方法返回格式为text/json @RestController 返回Json数据 2、处理URL中的参数 @PathVaria 阅读全文
posted @ 2020-09-10 16:56 ChanXM 阅读(158) 评论(0) 推荐(0)
posted @ 2020-09-10 16:56 ChanXM 阅读(158) 评论(0) 推荐(0)