-2
$http({
method: "get",
url: "/Home/GetCallInfo"
}).then(function (response) {
}, function() {
alert("error");
})
public string GetCallInfo (Object result1,Object result2)
{
// Here i want to return like
return js.Serialize(result1) + "^" + js.Serialize(result2)
}
它顯示警報錯誤。 怎麼辦?我是新角色。 Plz回覆將兩個json對象連接起來並作爲json對象返回並返回爲角度響應
謝謝..它幫助。 – santosh