一直返回216101,
Ta的回复 :function request(url, method, data) { var defer = $q.defer(); $http({ method: method, timeout: 5000, url: url, headers: { "Content-Type": "application/x-www-form-urlencoded" }, data: data }).success(function (data) { defer.resolve(data); }).error(function (data, status, headers, config) { defer.reject(data); }); return defer.promise; }