原因 请求 Content-Type 不一样 修改一下就可以了
a.module("login", [], function($httpProvider) {
// 修改请求Content-Type 只需要修改或者添加这个function就可以
$httpProvider.defaults.headers.post['Accept'] = 'application/json, text/javascript, */*;';
$httpProvider.defaults.headers.post['Content-Type'] = 'application/x-www-form-urlencoded;charset=utf-8';
})