1.后台php
public function addtable(){
$data = $_POST;
if(M('yanfa_project')->add($data)){
$this->ajaxReturn("success");
}
}
1.后台php
public function addtable(){
$data = $_POST;
if(M('yanfa_project')->add($data)){
$this->ajaxReturn("success");
}
}