前端
var tt={
bname:"dsa"
};
$.ajax({
type: "post",
url: "http://localhost:9261/api/User/ttt",
dataType: "json",
data: {s:JSON.stringify(tt)}
,
success: function (data)
if (data.message != "success") {
alert(data.message);
}
}
});
后台
public HttpResponseMessage ttt(TestModel s)
{
APIInvokeResult result = new APIInvokeResult();
return result;
}
序列号之后为空 很困惑
{