瀏覽代碼

no message

panghu 5 月之前
父節點
當前提交
9b1cca21b5
共有 1 個文件被更改,包括 1 次插入 和 1 次删除
  1. 1 1
      app/Http/Controllers/AdminApi/NotifyController.php

+ 1 - 1
app/Http/Controllers/AdminApi/NotifyController.php

@@ -84,7 +84,7 @@ class NotifyController extends ApiController
             if (!empty($signFlowId)){
                 $sign = SignContract::where('flow_id',$signFlowId)->first();
                 $sign_id = $sign->{'id'};
-                if (!empty($operator)){
+                if (!empty($operator) && empty($organization)){//个人签署回调没有$organization信息
                     $psnId = $operator['psnId'];
 //                    SignRecord::where('sign_id',$sign_id)->where('authType','PSN')->where('id_no',$psnId)->update(['status'=>$signFlowStatus]);
                     SignRecord::where('sign_id',$sign_id)->where('authType','PSN')->update(['status'=>$signFlowStatus]);