设置方式:
$http.post('/url' , datas , {
headers : {
X-request-id:"md5",
//......
}
}).then(function(data, status, headers, config) {
//...
}).catch(function(data, status, headers, config ){
//...
});