浏览代码

请求方式修改

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){