链接:http://www.cnblogs.com/qq78292959/p/3760560.html
链接:http://blog.csdn.net/blueheart20/article/details/45174399
consumes: 指定处理请求的提交内容类型(Content-Type),例如application/json, text/html;
produces: 指定返回的内容类型,仅当request请求头中的(Accept)类型中包含该指定类型才返回;
链接:http://www.cnblogs.com/qq78292959/p/3760560.html
链接:http://blog.csdn.net/blueheart20/article/details/45174399
consumes: 指定处理请求的提交内容类型(Content-Type),例如application/json, text/html;
produces: 指定返回的内容类型,仅当request请求头中的(Accept)类型中包含该指定类型才返回;