客户回访调整
This commit is contained in:
@@ -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]);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user