客户回访调整

This commit is contained in:
meimei
2025-04-16 10:08:13 +08:00
parent 7891a254a1
commit 478e257bce
10 changed files with 435 additions and 26 deletions

View File

@@ -171,4 +171,16 @@ class Mattertemplatecategorizedcontent extends Backend
}
$this->success();
}
public function getAllContent(){
$mattertemplatecategorization_id = $this->request->post('id');
$type = $this->request->post('type');
$data = $this->model->where('mattertemplatecategorization_id',$mattertemplatecategorization_id)
->order('id desc');
if ($type==1){
$data = $data->find();
}else{
$data = $data->select();
}
return json(['data'=>$data]);
}
}