标签: java annotations
返回前输入:
public @ResponseBody Map<Object, Object> search(@RequestParam(required = true) String q) {
以上方法:
@ResponseBody public Map<Object, Object> search(@RequestParam(required = true) String q) {
两者之间有什么区别吗?