标签:app response token ica sage item 传输 function content
/*设置呼叫转移*/
var ownerId = localStorage.getItem("ownerId");
var roomId = localStorage.getItem("roomId");
var ownerPhone = localStorage.getItem("ownerPhone");
var request_body = [
{
"ownerId":ownerId,
"roomId":roomId,
"ownerPhone":ownerPhone
}
];
$(".grayg").click(function(){
$(this).addClass("none");
$(".blueg").removeClass("none");
$.ajax({
url:TAG_URL+‘/owner/call‘,
data:JSON.stringify(request_body),
type:‘POST‘,
dataType:‘JSON‘,
contentType:‘application/json‘,
headers: {
"token" : TD.getSession(), //TOKEN
},
success:function(response){
mui.alert(response.message);
}
});
});
标签:app response token ica sage item 传输 function content
原文地址:http://www.cnblogs.com/shoolnight/p/7723361.html