update
This commit is contained in:
parent
e20d19df42
commit
1bf93d8054
@ -281,7 +281,10 @@
|
|||||||
return $this->fail('审核参数错误');
|
return $this->fail('审核参数错误');
|
||||||
}
|
}
|
||||||
if(empty($params['content'])){
|
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();
|
$data = Db::name('oa_approve')->where('id',$params['id'])->find();
|
||||||
if(empty($data)){
|
if(empty($data)){
|
||||||
|
Loading…
x
Reference in New Issue
Block a user