Browse Source

请求方式修改

durong 5 years ago
parent
commit
2943b0230a
1 changed files with 7 additions and 0 deletions
  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){