前台:
abp.ajax({
url: abp.appPath + 'App/SaleSlip/GetItemModel',
data: JSON.stringify({ Id:'1' })
}).done(function (data) {
});
后台:
类似.Net Core需要在实体前加上[FromBody]
[HttpPost]
public async Task<JsonResult> GetItemModel([FromBody]ItemName stockName)
{}