服务端返回的数据 在页面上通过xml显示
转为json显示
在RequestMapping注解后 加一个 produces属性即可
注:该属性在 org.springframework.http 包下
服务端返回的数据 在页面上通过xml显示
转为json显示
在RequestMapping注解后 加一个 produces属性即可
注:该属性在 org.springframework.http 包下
上一篇:Initializing Spring root WebApplicationContext
下一篇:远程mysql_java.sql.SQLException: null, message from server:
文章目录1. 概念2. 数据准备3. 实战4. 总结 1. 概念「OSS」的英文全称是Object Storage Service,翻译成中文就是「对象存储服务」,官方一点解释就是对象存储是一种使用HTTP API存储和检索非结构化数据和元数据对象的工具白话文解释就是将系统所要用的文件上传到云硬盘上,该云硬盘提供了文件下载、上传等一列服务,这样的服务以及技术可以统称为OSS,业内提供OSS服务
举报文章
请选择举报类型
补充说明
0/200
上传截图
格式支持JPEG/PNG/JPG,图片不超过1.9M