作者 lyh

gx

... ... @@ -32,7 +32,7 @@ class ProofreadingLogic extends BaseLogic
* @time :2023/6/12 11:03
*/
public function proofreadingSave(){
// try {
try {
//删除以前的数据
$this->model->del(['project_id'=>$this->user['project_id']]);
foreach ($this->param['data'] as $k => $v){
... ... @@ -43,9 +43,9 @@ class ProofreadingLogic extends BaseLogic
}
//新增
$this->model->insert($this->param['data']);
// }catch (\Exception $e){
// $this->fail('error');
// }
}catch (\Exception $e){
$this->fail('error');
}
return $this->success();
}
}
... ...