8.7w+
社区成员
$(function(){
$("#btnSubmit").click(function(){
$.ajax({
type: "post",
url: "/BDDLR011/AddPayment_item",
data: "{'type':"123", 'item':"123" }",
contentType: "application/json; charset=utf-8",
dataType: "json",
success: function (data) {
alert(data.d);
},
error: function (err) {
alert(err.d);
}
})
});
})
[HttpPost]
public static string AddPayment_item(string type, string item)
{
return "OK";
}