摘要: 在前端页面中,如果没有表单,想把复杂对象提交到后端,可使用以下方法 后端Controller中定义以下方法: 注意一定要有 [FromBody] 前端JS方法 注意其中的 contentType和dataType 阅读全文
posted @ 2018-08-07 14:10 子思 阅读(756) 评论(0) 推荐(0) 编辑