According query entity ID

//查询实体
$scope.findOne=function(id){
$http.get('../brand/findOne.do?id='+id).success(
function(response){
$scope.entity= response;
}
);
}

Guess you like

Origin www.cnblogs.com/lijun6/p/11520499.html