摘要: 要将对象以xml数据形式返回:参考:https://blog.csdn.net/Pnoter/article/details/52218363 1:创建对象时应该填上xml注解,这样才能将对象转换为xml形式。 2:在对象属性上,添加xmlElement可以将属性解析为xml的子元素形式 例如: 对 阅读全文
posted @ 2018-05-31 22:10 1367356 阅读(1958) 评论(0) 推荐(0) 编辑