ArgularJS的$http方法支持全局设置:
$http.defaults.headers.post["Content-Type"] = "application/x-www-form-urlencoded";
ArgularJS的$http方法支持全局设置:
$http.defaults.headers.post["Content-Type"] = "application/x-www-form-urlencoded";
转载于:https://www.cnblogs.com/huntaheart/p/4443726.html