wupengfei 2 years ago
parent
commit
879f01968d
2 changed files with 2 additions and 2 deletions
  1. 1 2
      .idea/workspace.xml
  2. 1 0
      application/nutrition/controller/VideoManage.php

+ 1 - 2
.idea/workspace.xml

@@ -4,7 +4,6 @@
     <list default="true" id="1a36929e-c054-4875-a943-593a74e55fa4" name="Default Changelist" comment="">
       <change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" />
       <change beforePath="$PROJECT_DIR$/application/nutrition/controller/VideoManage.php" beforeDir="false" afterPath="$PROJECT_DIR$/application/nutrition/controller/VideoManage.php" afterDir="false" />
-      <change beforePath="$PROJECT_DIR$/application/nutrition/view/video_manage/index_search.html" beforeDir="false" afterPath="$PROJECT_DIR$/application/nutrition/view/video_manage/index_search.html" afterDir="false" />
     </list>
     <option name="SHOW_DIALOG" value="false" />
     <option name="HIGHLIGHT_CONFLICTS" value="true" />
@@ -193,7 +192,7 @@
       <workItem from="1669597148644" duration="17061000" />
       <workItem from="1669682447842" duration="24394000" />
       <workItem from="1669769873624" duration="5352000" />
-      <workItem from="1669776182613" duration="11016000" />
+      <workItem from="1669776182613" duration="11039000" />
     </task>
     <servers />
   </component>

+ 1 - 0
application/nutrition/controller/VideoManage.php

@@ -45,6 +45,7 @@ class VideoManage extends Controller
         $sel_where[] = ['type','=',1];
         if($title = $this->request->get('title')) $sel_where[] = ['title','like','%'.$title.'%'];
         if($label = $this->request->get('label')) $sel_where[] = ['label','like','%'.$label.'%'];
+        $in_ids = '';
         if($phone = $this->request->get('phone')) $in_ids = VideoUrl::where('phone','like','%'.$phone.'%')->column('video_id');
         $query = $this->_query($this->table);
         $query->where($sel_where)