wugg 2 years ago
parent
commit
5d71ad3e14
1 changed files with 4 additions and 0 deletions
  1. 4 0
      app/admin/controller/Platform.php

+ 4 - 0
app/admin/controller/Platform.php

@@ -77,6 +77,10 @@ class Platform extends Base
         $platform_type = isset($this->post['platform_type']) && $this->post['platform_type'] !=="" ? intval($this->post['platform_type']):"";
         if($platform_type !=""){
             $where[]=['p.platform_type',"=",$platform_type];
+        }
+         $use_type = isset($this->post['use_type']) && $this->post['use_type'] !=="" ? intval($this->post['use_type']):"";
+        if($use_type !=""){
+            $where[]=['p.use_type',"=",$use_type];
         }
         $status = isset($this->post['status']) && $this->post['status'] !=="" ? intval($this->post['status'])
             :"";