使用Spring-ResponseEntity可以响应json格式的数据,非常方便。 控制器端代码: @RequestMapping(value = "/channel/{id}", method = RequestMethod.
確定! 回上一頁