0
我的查詢使用Restangular時出錯,它沒有返回我的過濾數據。我已經嘗試了以下所有內容:帶過濾器的Restangular查詢
$scope.welcomes = Restangular.all("projects").getList({'name': "g"}).$object;
$scope.welcomes = Restangular.all("projects").customGET("findOne", {"filter[where][title]": "g"});
$scope.welcomes = Restangular.one("projects").customGET({name: "g"});
$scope.welcomes = Restangular.all("projects").customGET({name: "g"});
我真的很感激你有什麼建議來分享。