소스 검색

no message

panghu 5 달 전
부모
커밋
51f960efae
2개의 변경된 파일과 8개의 추가작업 그리고 4개의 파일을 삭제
  1. 4 2
      app/Console/Commands/TestCommand.php
  2. 4 2
      app/Http/Controllers/AdminApi/NotifyController.php

+ 4 - 2
app/Console/Commands/TestCommand.php

@@ -88,11 +88,13 @@ class TestCommand extends Command
                 $sign_id = $sign->{'id'};
                 if (!empty($operator)){
                     $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')->where('id_no',$psnId)->update(['status'=>$signFlowStatus]);
+                    SignRecord::where('sign_id',$sign_id)->where('authType','PSN')->update(['status'=>$signFlowStatus]);
                 }
                 if (!empty($organization)){
                     $orgId = $organization['orgId'];
-                    SignRecord::where('sign_id',$sign_id)->where('authType','ORG')->where('id_no',$orgId)->update(['status'=>$signFlowStatus]);
+//                    SignRecord::where('sign_id',$sign_id)->where('authType','ORG')->where('id_no',$orgId)->update(['status'=>$signFlowStatus]);
+                    SignRecord::where('sign_id',$sign_id)->where('authType','ORG')->update(['status'=>$signFlowStatus]);
                 }
             }
         }

+ 4 - 2
app/Http/Controllers/AdminApi/NotifyController.php

@@ -86,11 +86,13 @@ class NotifyController extends ApiController
                 $sign_id = $sign->{'id'};
                 if (!empty($operator)){
                     $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')->where('id_no',$psnId)->update(['status'=>$signFlowStatus]);
+                    SignRecord::where('sign_id',$sign_id)->where('authType','PSN')->update(['status'=>$signFlowStatus]);
                 }
                 if (!empty($organization)){
                     $orgId = $organization['orgId'];
-                    SignRecord::where('sign_id',$sign_id)->where('authType','ORG')->where('id_no',$orgId)->update(['status'=>$signFlowStatus]);
+//                    SignRecord::where('sign_id',$sign_id)->where('authType','ORG')->where('id_no',$orgId)->update(['status'=>$signFlowStatus]);
+                    SignRecord::where('sign_id',$sign_id)->where('authType','ORG')->update(['status'=>$signFlowStatus]);
                 }
             }
         }elseif ($data['action']=='SEAL_AUTH_SIGN'){