// codeigniter列出delete()方法
public function lists_delete(){
$todoitemid = $this->input->input_stream();
$jsonArray = json_decode(file_get_contents('php://input'),true);
return print json_encode($todoitemid);
}
// backbonejs删除功能
delete: function(){
this.model.destroy({
success: function(){
console.log("done");
},error:function(){
console.log("err");
}
});
},
$jsonArray = json_decode(file_get_contents('php://input'),true);
//使我返回空值
///我如何读取主体并捕获使用bonesjs发送的ID