jquery设置ajax请求的头信息
$.ajax({
url: url + '?t=' + new Date().getTime(),
type: type,
data: data,
dataType: 'json',
beforeSend: function (xhr) {
xhr.setRequestHeader("Authorization", common.AUTOORIZATION);
},
success: function (res) {
}
});