ArgularJS的$http方法支持全局设置: $http.defaults.headers.post["Content-Type"] = "application/x-www-form-urlencoded"; 相关文章: