$http.defaults.headers.common['X-AVOSCloud-Application-Id']='yipq2dtz42fw8bj0cbcxg91q4wetc7heqsy6nq3147aiif9l';
    $http.defaults.headers.common['X-AVOSCloud-Master-Key']='q37s1xdlxye25chw05go493xnejf3qgpd25t6nizl6ckfam2';
   var request= $http.put("https://api.leancloud.cn/1.1/users/558e2097e4b03d8b56a75613",{phone:'15353667919'});
	return request.then(function(response) {
		console.log(response);
		alert("更新成功!!!");
  	},function(error){
  		alert('更新失败!!!');
  	});

error信息:XMLHttpRequest cannot load https://api.leancloud.cn/1.1/users/558e2097e4b03d8b56a75613. Request header field X-AVOSCloud-Master-Key is not allowed by Access-Control-Allow-Headers.

好像是什么跨域问题,请支持一下 谢谢!

急啊,请回复啊....谢谢

上面是发送请求的截图, 你看对不对!

非常感谢jfeng耐心解答,谢谢!!!!