$http.put("http://localhost:8080/demo/v1/user/" + userId) .then(function (result) { $scope.userList = result.data.userList; });
https://blog.csdn.net/larger5/article/details/79805617