会员
周边
捐助
新闻
博问
闪存
赞助商
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
子思
小程序员的小笔记
博客园
首页
新随笔
联系
订阅
管理
2018年8月7日
.NetCore mvc Ajax Post数据到后端
摘要: 在前端页面中,如果没有表单,想把复杂对象提交到后端,可使用以下方法 后端Controller中定义以下方法: 注意一定要有 [FromBody] 前端JS方法 注意其中的 contentType和dataType
阅读全文
posted @ 2018-08-07 14:10 子思
阅读(756)
评论(0)
推荐(0)
编辑
公告