From ef2fe795f7a542cdf41214defaaa6c9cc6a7fd34 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=8B=8F=E5=B0=8F=E9=A9=AC?= <179906767@qq.com> Date: Tue, 7 Sep 2021 04:40:29 +0000 Subject: [PATCH] =?UTF-8?q?=E5=90=8C=E6=AD=A5=E6=A8=A1=E5=BC=8F=E4=B8=8B?= =?UTF-8?q?=E5=AD=90=E6=AD=A5=E9=AA=A4=E4=BC=9A=E7=AD=BE=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/adaptive/Info.php | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/adaptive/Info.php b/src/adaptive/Info.php index 1c38329..5caaee6 100644 --- a/src/adaptive/Info.php +++ b/src/adaptive/Info.php @@ -184,8 +184,11 @@ class Info } } } - if (!isset($info)) { - return -1; + if (!isset($info)) {//如果同步模式中的子步骤提出会签,这里直接返回-1会导致会签接收人无权限的问题 + if ($result['is_sing'] != 1){//如果该步骤不是会签,则直接返回-1,提示无权限 + return -1; + } + $info=null; } } -- Gitee