审核权限
This commit is contained in:
@@ -138,12 +138,9 @@ class InvRequisitionApproveService
|
||||
// return ['status' => 'noop', 'msg' => '非当前审批'];
|
||||
// }
|
||||
return ['status' => 'noop', 'msg' => '无待处理记录'];
|
||||
} else if ($pendingRecord->approver_id != $uid) { //检查当前用户是否为审核人
|
||||
return ['status' => 'noop', 'msg' => '无审核权限'];
|
||||
}
|
||||
// else{
|
||||
// if ($pendingRecord->approver_id == $uid) {
|
||||
// return ['status' => 'noop', 'msg' => '无审核权限'];
|
||||
// }
|
||||
// }
|
||||
|
||||
$now = time();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user