This commit is contained in:
weiz 2024-05-28 17:41:39 +08:00
parent e20d19df42
commit 1bf93d8054

View File

@ -281,7 +281,10 @@
return $this->fail('审核参数错误');
}
if(empty($params['content'])){
return $this->fail('请填写审核意见');
$mes = match ($params['check']){
1=>'请填写审核意见',2=>'请填写审核意见',3=>'请填写撤销理由'
};
return $this->fail($mes);
}
$data = Db::name('oa_approve')->where('id',$params['id'])->find();
if(empty($data)){