笔记
文章平均质量分 54
好z
毕业两年了,光阴似箭矣
展开
-
画图复习中
原创 2024-06-11 12:39:39 · 73 阅读 · 0 评论 -
SSM
@ResponseBody:返回对象不再走视图解析器(所以不担心被),而是直接写回到response的body处,通常返回JSON和XML @GetMapping():等价于@RequestMapping(method = RequestMethod.Get ) @RequestMapping:接收请求,默认不限种类,包括get,post,Head等 返回字符串常用: 1 @RequestMapping+@RestController 2 @ResponseBody ...原创 2021-03-12 19:57:23 · 155 阅读 · 0 评论