$http.get请求数据的格式
$http.get(URL,{
params: {
"id":id
}
})
.success(function(response, status, headers, config){
})
$http.post请求数据的格式
$http.post(URL,{
"id":id
})
.success(function(response, status, headers, config){
})