js给webApi传值List<DealBatchModel>
来源:互联网 发布:深圳市历年gdp数据 编辑:程序博客网 时间:2024/06/05 20:30
前台往webApi传值 传一个 List对象
前台代码var arr = { "model": [ ] } for(var i=0;i<caseIdsArr.length;i++){ arr.model.push({"caseId": caseIdsArr[i],"StepKey": stepKeysArr[i],"actionId": "2F90F304-A57E-4647-96FC-3612988193CD","bookDate": BookDate,"bookTime": BookTime,"reschedule_remark": reschedule_remark}); }
后台代码(webAPI)public TResult DealCaseBatch(DealBatchparamModel deal) {} public class DealBatchparamModel : TokenBase { public List<DealBatchModel> model { get; set; } }public class DealBatchModel { public string caseId { get; set; } public string StepKey { get; set; } public string actionId { get; set; } public string JsonString { get; set; } }
阅读全文
0 0
- js给webApi传值List<DealBatchModel>
- WebAPI返回一个List
- WebAPI 返回Html,js
- webapi返回泛型给easyui
- 给现有MVC 项目添加 WebAPI
- java list<string>集合 传递值给js的数组
- WebAPI
- webApi
- webapi
- WebAPi
- webAPI
- webapi
- WebAPI
- webapi
- WebApi
- WebAPI
- WebApi
- WebApi
- 文本操作(3)——sed
- matplotlib绘图之中文标题、坐标轴标签乱码问题
- kmp
- React Native 项目常用第三方组件汇总
- linux grep 查找当前目录下某个字段的内容
- js给webApi传值List<DealBatchModel>
- 网页编码那点事
- Linux C语言编程-Linux数据库操作--Linux上C语言操作SQLServer---知识点总结+实例
- Memcached vs. MongoDB vs. Redis
- 微信小程序周报(第十三期)-极乐商店(store.dreawer.com)出品
- Docs » Logs » Downloading and Analyzing Data Logs in Mission Planner
- 基于DateTime.ParseExact方法的使用详解
- 计算机图形学(二)
- [PHP学习]TP5学习之Apache服务器隐藏index.php入口文件