我正在尝试从我的 angularjs 控制器中检索超链接列表项。
app.controller('myController', function($scope, $http, $filter) {
method: 'GET',
url: "https://.../_api/web/lists/GetbyTitle('hightlights')/items?$top=1000$select=Product",
header: {"Accept": "application/json;odata=verbose}
}).success(function(data, status, headers, config) {
$scope.products = data.d.results;
console.log($scope.products);
...
但我在我的页面上得到的是以下内容:
{"__metadata:"{"type":"SP.FieldUrlValue"},"Description":"https://...","Url":"https://..."}
如何获取 url 部分?