소스 검색

请求方式修改

durong 5 년 전
부모
커밋
2943b0230a
1개의 변경된 파일7개의 추가작업 그리고 0개의 파일을 삭제
  1. 7 0
      app/Repositories/Behavior/GenaralRecordRepository.php

+ 7 - 0
app/Repositories/Behavior/GenaralRecordRepository.php

@@ -33,6 +33,13 @@ class GenaralRecordRepository
             $where[] = ['virus_behavior_id', $request['virus_behavior_id']];
         }
 
+        if(isset($request['behavior_identification'])){
+            if ($request['type'] == 1){
+
+            }
+            $where[] = ['virus_behavior_id', $request['virus_behavior_id']];
+        }
+
         return $this->generalRecord
             ->where($where)
             ->where(function($query) use ($request){