//保存
$http.post('../brand/'+ methodName +'.do',$scope.entity ).success(
function(response){
if(response.success){
$scope.reloadList();//重新加载
}else{
alert(response.message);
}
}
);
}
//保存
$http.post('../brand/'+ methodName +'.do',$scope.entity ).success(
function(response){
if(response.success){
$scope.reloadList();//重新加载
}else{
alert(response.message);
}
}
);
}
转载于:https://www.cnblogs.com/lijun6/p/11503679.html