MVC后台创建Json(List)前台接受并循环读取实例
—————————后台——————- 代码如下: [HttpPost] public JsonResult CheckStock(IEnumerable pvIds) { var resultList = new List(); if (pvIds != null) { foreach (var pvIdsCount in pvIds) { var pvId = pvIdsCount.pvId; var count = pvIdsCount.count; var stock = _productService.GetProductVariant
下载地址
用户评论